0.6.0 • Published 3 years ago
eslint-plugin-curlyplus v0.6.0
eslint-plugin-curlyplus
Curly with braces for 2 or more test
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-curlyplus:
$ npm install eslint-plugin-curlyplus --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-curlyplus globally.
Usage
Add curlyplus to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"curlyplus"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"curlyplus/curlyplus": ["error", "multi-or-nest"]
}
}Supported Rules
- Fill in provided rules here