eslint-plugin-render-if
v0.1.0
Published
ESLint rules for render-if
Readme
eslint-plugin-render-if
ESLint rules for render-if.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-render-if:
$ npm install eslint-plugin-render-if --save-devNote: 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
}
}