eslint-config-accelerator
Collection of ESLint rules to use for all the development environments (ex: nodejs, webpack, etc..,)
Installation
You'll install eslint-config-accelerator
:
$ npm install eslint-config-accelerator --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-coonfig-accelerator
globally.
Usage
Add accelerator
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-config-
prefix:
For Node
For Unit Test Files
For Lodash
For Jest
For Webpack