1.3.2 • Published 9 years ago
eslint-plugin-callback-function v1.3.2
eslint-plugin-callback-function
This currently have only one rule which enforces consistent placement of callback functions.

Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-callback-function:
$ npm install eslint-plugin-callback-function --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-callback-function globally.
Usage
Add callback-function to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"callback-function"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"callback-function/rule-name": 2
}
}