@instaffogmbh/eslint-config-nodejs
Code with style
-
📣 💼 💰 Looking for a tech job? Try our reverse recruiting service.
Usage
-
npm install --save-dev @instaffogmbh/eslint-config-nodejs
-
In your module's
package.json
, add"eslintConfig": { "extends": "@instaffogmbh/eslint-config-nodejs" }, "scripts": { "justlint": "instaffo-lint-nodejs", "lint": "instaffo-lint-nodejs --fix", },
-
npm run lint
Caveats
- If you manually clone this package,
⚠ ⚠ actually install it.⚠ ⚠ (At least on 2018-03-19 in Ubuntu Xenial, it seemed to require its own local eslint package.) - If you use v1.0.x linter commands with v^1.1.0, it will complain:
Explicitly decide whether to use the simplified CLI! See README.md at …
. We recommend to update your linter commands to the current ones. If that's not applicable, point your rules config torules.js
to get just the rules with no update checks.
License
MIT