eslint-plugin-crocks
v0.0.0
Published
Verifies crocks import order
Downloads
4
Maintainers
Readme
eslint-plugin-crocks
Verifies crocks import order
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-crocks
:
$ npm install eslint-plugin-crocks --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-crocks
globally.
Usage
Add crocks
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"crocks"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"crocks/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here