1.1.3 • Published 8 years ago
eslint-plugin-insight v1.1.3
ESLint-plugin-Insight
Insight specifc rules for ESLint
Installation
Insight ESLINT either locally or globally.
$ npm install eslint
If you installed ESLint
globally, you have to install the Insight plugin globally too
$ npm install eslint-plugin-insight
Configuration
Add plugins
section and specify ESLint-plugin-Insight as a plugin.
{
"plugins": [
"insight"
]
}
Finally, enable all of the rules that you would like to use
{
"rules": {
"insight/svc-call-no-null-first": 1
}
}
List of supprted rules
- svc-call-no-null-first: Enforce using service name as first argument in svc.call
To Do
- More rules
License
ESLint-plugin-insight is licensed under the MIT License.