eslint-plugin-no-jquery-deferred
v0.0.2
Published
ESLint plugin which enforce using native Promise instead $.Deferred
Maintainers
Readme
eslint-plugin-no-jquery-deferred
ESLint plugin which enforce using native Promise instead $.Deferred
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-no-jquery-deferred:
$ npm install eslint-plugin-no-jquery-deferred --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-jquery-deferred globally.
Usage
Add no-jquery-deferred to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"no-jquery-deferred"
]
}