ESLint config for modern JavaScript projects.
Download the config:
$ npm i -D @chookslint/eslint-config
Then plug it into your existing eslint config:
{
"extends": [
"@chookslint"
]
}
- This config extends
eslint/recommended
, and is intended for use with modern ES6 features (no vars, no hoisting functions, etc.). - While this config is very opinionated and is intended for use in my projects, please feel free to extend or overwrite any rules that may have been set/unset to suit your project.
- When overwriting, rules enabled with error level
error
is intended to be enforced by this ruleset. - When you find that you need to overwrite/ignore/disable many rules with error level
error
, extending from a different ruleset may be preferred.
- When overwriting, rules enabled with error level
- Typescript rules are available via @chookslint/eslint-config-typescript.