6.1.0 • Published 4 months ago

@form8ion/eslint v6.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

eslint

opinionated scaffolder for managing the ESLint configuration for a project

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Features

Scaffolder

  • creates an initial .eslintrc.yml config file for the project
  • extends the base shareable eslint-config package defined by config.scope
  • defines the lint and fix scripts
  • ignores the cache file from the VCS

Lifter

  • ignores linting of paths defined in
    • results.buildDirectory
    • results.eslint.ignore.directories
  • extends configs defined in results.eslint.configs, using the scope of the base config already defined in the .eslintrc.yml

Usage

MIT license npm Try @form8ion/eslint on RunKit node

Installation

$ npm install @form8ion/eslint --save

Example

Import

import {lift, scaffold} from '@form8ion/eslint';

Execute

(async () => {
  await scaffold({projectRoot: process.cwd(), config: {scope: '@foo'}});

  await lift({
    projectRoot: process.cwd(),
    results: {
      eslint: {configs: ['mocha', 'react'], ignore: {directories: []}},
      buildDirectory: 'lib'
    }
  });
})();

Contributing

PRs Welcome Commitizen friendly Conventional Commits semantic-release Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test
6.1.0

4 months ago

6.0.2

4 months ago

6.0.1

4 months ago

5.0.0

10 months ago

6.0.0-beta.1

7 months ago

6.0.0

7 months ago

2.0.2

2 years ago

3.0.0-alpha.1

2 years ago

3.0.0-alpha.2

2 years ago

4.0.0-alpha.3

2 years ago

4.0.0-alpha.4

2 years ago

4.0.0-alpha.1

2 years ago

4.0.0-alpha.2

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

4.0.0

2 years ago

2.1.0-alpha.2

2 years ago

2.1.0-alpha.1

2 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.0-alpha.8

3 years ago

1.2.0-alpha.6

3 years ago

1.2.0-alpha.7

3 years ago

2.0.0-alpha.1

3 years ago

2.0.0-alpha.2

3 years ago

1.2.0-alpha.4

3 years ago

1.2.0-alpha.5

3 years ago

1.2.0-alpha.2

3 years ago

1.2.0-alpha.3

3 years ago

1.2.0-alpha.1

3 years ago

1.1.0

3 years ago

1.1.0-alpha.3

3 years ago

1.1.0-alpha.2

3 years ago

1.1.0-alpha.1

3 years ago

1.0.0

3 years ago

1.0.0-alpha.4

3 years ago

1.0.0-alpha.3

3 years ago

1.0.0-alpha.2

3 years ago

1.0.0-alpha.1

3 years ago