3.7.8 • Published 1 year ago

@sealsystems/eslint-config-es v3.7.8

Weekly downloads
77
License
MIT
Repository
github
Last release
1 year ago

@sealsystems/eslint-config-es

ESLint executable and configuration for SEAL Systems

Installation

npm install --save-dev @sealsystems/eslint-config-es

Quick start

Create a file with the name .eslintrc.json in the root directory of your project. It should contain at least the following lines:

{
  "extends": "@sealsystems/eslint-config-es"
}

ESLint is installed as a dependency of @sealsystems/eslint-config-es. So you can call eslint from the root directory of your project:

$(npm bin)/eslint **/*.js

Please note:

  • In order to install all dependencies directly in the project's node_modules folder, you may need to delete package-lock.json before adding this package.

The package also provides 3 CLI executables:

  • bot runs the following checks:

    • ESLint

    • Unit Tests by calling npm run test

    • Missing or unused dependencies (aborts the test run only if package.json does not contain a dependency)

    • Outdated dependencies (never aborts the test run)

    In case of an error, the returned status code indicates the number of the failed test

  • lint runs ESLint

  • lint-fix runs ESLint with the option --fix

Please note:

  • ESLint ignores all files and directories listed in the project's .gitignore.

To use these binaries, add some scripts to your package.json:

...
"scripts": {
  "bot": "bot",
  "lint": "lint",
  "lint:fix": "lint-fix"
}
...

And call them via npm run:

npm run bot
npm run lint
npm run lint:fix

Implementation details

Please note: This module is part of the build and release infrastructure. In order to prevent endless loops when automatically updating dependencies, Dependabot is not enabled.

3.7.8

1 year ago

3.7.7

2 years ago

3.7.5

2 years ago

3.7.4

2 years ago

3.7.3

2 years ago

3.7.2

2 years ago

3.7.6

2 years ago

3.7.1

2 years ago

3.7.0

2 years ago

3.6.8

3 years ago

3.6.7

3 years ago

3.6.6

3 years ago

3.6.5

3 years ago

3.6.4

3 years ago

3.6.3

4 years ago

3.6.2

4 years ago

3.6.1

4 years ago

3.6.0

5 years ago

3.5.6

5 years ago

3.5.5

5 years ago

3.5.4

5 years ago

3.5.3

5 years ago

3.5.2

5 years ago

3.5.1

5 years ago

3.5.0

5 years ago

3.4.0

5 years ago

3.3.15

5 years ago

3.3.14

5 years ago

3.3.13

5 years ago

3.3.12

5 years ago

3.3.11

5 years ago

3.3.10

5 years ago

3.3.9

5 years ago

3.3.8

5 years ago

3.3.7

5 years ago

3.3.6

5 years ago

3.3.5

5 years ago

3.3.4

5 years ago

3.3.3

5 years ago

3.3.2

5 years ago

3.3.1

5 years ago

3.3.0

5 years ago

3.2.5

5 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago