0.0.6 • Published 6 years ago
eslint-plugin-callback v0.0.6
eslint-plugin-callback
Checks that all callbacks are called
Installation
You'll first need to install ESLint:
$ sudo npm install -g eslint
Next, install eslint-plugin-callback
:
$ sudo npm install -g eslint-plugin-callback
Usage
Add callback
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"callback"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"callback/callback": 1
}
}