Skip to content

andreysm/eslint-plugin-callback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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
    }
}

About

Plugin for ESLint to check that callbacks are called.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •