1.0.2 • Published 7 years ago
eslint-config-accelerator v1.0.2
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:
{
"extends": [
"accelerator"
]
}
For Node
{
"extends": [
"accelerator/node"
]
}
For Unit Test Files
{
"extends": [
"accelerator/specs"
]
}
For Lodash
{
"extends": [
"accelerator/lodash"
]
}
For Jest
{
"extends": [
"accelerator/jest"
]
}
For Webpack
{
"extends": [
"accelerator/webpack"
]
}