0.0.2 • Published 6 years ago

eslint-plugin-no-jquery-deferred v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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

Next, install eslint-plugin-no-jquery-deferred:

$ npm install eslint-plugin-no-jquery-deferred --save-dev

Note: 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"
    ]
}