0.2.3 • Published 2 years ago
eslint-plugin-cariable v0.2.3
eslint-plugin-cariable
Create your variables carefully
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-cariable
:
npm install eslint-plugin-cariable --save-dev
Usage
Add cariable
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"cariable"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"cariable/illegal-variable": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.