1.1.3 • Published 10 years ago
eslint-plugin-sanctuary v1.1.3
eslint-plugin-sanctuary
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-sanctuary:
$ npm install eslint-plugin-sanctuary --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-sanctuary globally.
Usage
Add sanctuary to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"sanctuary"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"sanctuary/rule-name": 2
}
}Supported Rules
Following rules are sanctuary flavored!
no-undef