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