0.0.6 • Published 9 years ago
eslint-plugin-rocket-skates v0.0.6
eslint-plugin-rocket-skates
Extra lint rules for rocket-skates
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-rocket-skates:
$ npm install eslint-plugin-rocket-skates --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-rocket-skates globally.
Usage
Add rocket-skates to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"rocket-skates"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"rocket-skates/const-require": 2
}
}