0.3.0 • Published 8 years ago
eslint-plugin-no-loops v0.3.0
eslint-plugin-no-loops
no loops!
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-no-loops
:
$ npm install eslint-plugin-no-loops --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-no-loops
globally.
Usage
Add no-loops
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-loops"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-loops/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here