eslint-config-debd
ESLint config for common gotch'yas for different JS environments.
Note: I think formatting code is important (find out why here) but nowdays I'm using prettier to take care of formatting code for me.
Installation
npm install --save @nib/eslint-config-debd
Usage
In the root of your project, create a .eslintrc
file with the following contents:
{
"extends": "debd/<env>"
}
Now run eslint
on your script files:
eslint **/*.js
Configurations
debd/es6
Linting rules for ES6.
debd/es
Linting rules for latest language features.
debd/react
Linting rules for ES6 and react.
debd/node
Linting rules for node v4.
Partial configurations
debd/test
Relax rules with useful behaviour for testing.
debd/debug
Relax rules with useful behaviour for debugging.
Change log
0.0.1
- forked https://www.npmjs.com/package/eslint-config-jameslnewell v3.0.0.