@instaffogmbh/eslint-config-nodejs

Code with style

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@instaffogmbh/eslint-config-nodejs
1.2.83 years ago4 years agoMinified + gzip package size for @instaffogmbh/eslint-config-nodejs in KB

Readme


@instaffogmbh/eslint-config-nodejs

Code with style
  • 📣 💼 💰 Looking for a tech job?
Try our reverse recruiting service.

Usage

  1. npm install --save-dev @instaffogmbh/eslint-config-nodejs
  2. In your module's package.json, add
```json
  "eslintConfig": { "extends": "@instaffogmbh/eslint-config-nodejs" },
  "scripts": {
    "justlint": "instaffo-lint-nodejs",
    "lint": "instaffo-lint-nodejs --fix",
  },
```
  1. 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 to rules.js to get just the rules with no update checks.

 

License

MIT