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