/eslint-config-esnext

Pluggable ESLint configs for ECMAScript Next and Node.js that you can import and extend

Primary LanguageJavaScript

eslint-config

Pluggable ESLint configs for ECMAScript Next, Node.js that you can import, extend and override

npm version npm downloads

Usage

See individual packages

To add a git-hook to your commits, consider using husky

npm install --save-dev husky

And in your package.json:

  "scripts": {
    "precommit": "eslint ."
  }

Config

These configs are biased and opinionated, and err on the side of too many rules instead of too few. Think of them as a superset of your repo's lint config, and discard what you don't like in them. It's easy to override and disable the rules you find inconvenient.