0.0.1 • Published 5 years ago
@nexxtway/eslint-plugin-rainbow v0.0.1
eslint-plugin-rainbow
Static AST checker for React Rainbow Components projects
Installation
You'll first need to install ESLint:
$ yarn add -D eslintNext, install eslint-plugin-rainbow:
$ yarn add -D eslint-plugin-rainbowUsage
Add rainbow to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"rainbow"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"rainbow/no-double-negation-renderif": 2
}
}Supported Rules
- no-double-negation-renderif
0.0.1
5 years ago