0.0.5 • Published 5 years ago
eslint-plugin-code-complexity v0.0.5
eslint-plugin-code-complexity
eslint-complexity
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-code-complexity:
$ npm install eslint-plugin-code-complexity --save-devUsage
Add code-complexity to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"code-complexity"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"code-complexity/rule-name": 2
}
}Supported Rules
- Fill in provided rules here