1.0.1 • Published 6 years ago
enchanted-curly v1.0.1
enchanted-curly
A set of more customizable rules for eslint/curly.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install enchanted-curly:
$ npm install enchanted-curly --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-curly globally.
Usage
Add curly to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"enchanted-curly"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"enchanted-curly/rule-name": 2
}
}