eslint-plugin-cs
v0.0.2
Published
eslint plugin
Downloads
7
Maintainers
Readme
eslint-plugin-cs
eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-cs
:
npm install eslint-plugin-cs --save-dev
Usage
Add cs
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"cs"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"cs/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.