0.0.2 • Published 8 years ago
eslint-plugin-no-jquery-deferred v0.0.2
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"
]
}0.0.2
8 years ago