eslint-plugin-no-jquery weekly downloads statistics
By wikimedia · npm · ESLint plugins
Disallow jQuery functions with native equivalents.
eslint-plugin-no-jquery has 65,098 recorded weekly downloads on npm, a decrease of 44.0% over the past 30 days, ranking #506 of 2,256 tracked listings.
About eslint-plugin-no-jquery
eslint-plugin-no-jquery
Disallow jQuery functions, with suggestions for native equivalents where possible.
Originally a fork of eslint-plugin-jquery.
⬇️ Installation
You'll first need to install ESLint:
Next, install eslint-plugin-no-jquery:
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-jquery globally.
🛠️ Usage
Add no-jquery to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
📋 Configs
The config plugin:no-jquery/recommended includes the recommended rule no-jquery/variable-pattern which is required for method rules to work correctly.
The config plugin:no-jquery/deprecated includes all known deprecated and removed code, and is updated as new releases of jQuery come out. You can instead use configs targeting specific versions of jQuery if you know the environment in which your code will operate. There is a config for all minor versions from 1.0 to 3.6 (deprecated-1.0, ..., deprecated-3.7). Deprecation configs are cumulative, so they include all the rules for jQuery versions below them.
The config plugin:no-jquery/slim includes all features excluded from the official "slim" build of jQuery, specifically the ajax and effects modules.
The config plugin:no-jquery/all includes all methods and utilities and should be used when you are aiming to remove all jQuery usage from your code.
Alternatively, you can pick out rules individually (see below).
⚙️ Settings
The following global settings can be used under the no-jquery property to configure the linter:
• constructorAliases - An array of aliases for the jQuery constructor. Defaults to [ "$", "jQuery" ]. • variablePattern - Regular expression pattern for matching jQuery variables. Defaults to "^\$.". This pattern can be enforced with the no-jquery/variable-pattern rule. • collectionReturningPlugins - An object describing the return types of jQuery plugins. Keys are plugin method names, and values can be one of: • 'always' a plugin which always returns a jQuery collection. • e.g. $bar = $foo.stop() • 'accessor' a plugin which only returns a jQuery collection when an argument is given. • e.g. w = $foo.width(), $bar = $foo.width( 200 ) • 'valueAccessor' a plugin which only returns a jQuery collection when more than one argument is given. • e.g. w = $foo.css( 'width' ), $bar = $foo.css( 'width', '1em' ) • 'never' (default) a plugin which never returns a jQuery collection. • e.g. arr = $foo.toArray()
📖 Rules
Rules with options are indicated with ⚙️. Rules which are fixable are indicated with 🔧.
Where rules are included in the configs recommended, slim, all or deprecated-X.X it is indicated below. Where rules are included in a config with non-default options this is indicated with a †. Configs which cause the rule to report an error are shown in bold.
• no-jquery/no-ajax slim, all • no-jquery/no-ajax-events slim • no-jquery/no-and-self 🔧 1.8, 3.0 • no-jquery/no-animate ⚙️ slim, all • no-jquery/no-animate-toggle slim • no-jquery/no-append-html • no-jquery/no-attr all • no-jquery/no-bind all, 3.0 • no-jquery/no-box-model all, 1.3, 1.8 • no-jquery/no-browser all, 1.3, 1.9 • no-jquery/no-camel-case all, 3.3, 4.0 • no-jquery/no-class ⚙️ all, 3.0†, 4.0† • no-jquery/no-class-state • no-jquery/no-clone all • no-jquery/no-closest all • no-jquery/no-constructor-attributes • no-jquery/no-contains all • no-jquery/no-context-prop all, 1.10, 3.0 • no-jquery/no-css all • no-jquery/no-css-number all, 3.7, 4.0 • no-jquery/no-css-props all, 3.7, 4.0 • no-jquery/no-data all • no-jquery/no-deferred all • no-jquery/no-deferred-get-stack-hook all, 3.7, 4.0 • no-jquery/no-delegate all, 3.0 • no-jquery/no-done-fail all • no-jquery/no-each • no-jquery/no-each-collection all • no-jquery/no-each-util all • no-jquery/no-error 🔧 all • no-jquery/no-error-shorthand 🔧 1.8, 3.0 • no-jquery/no-escape-selector 🔧 all • no-jquery/no-event-shorthand ⚙️ 🔧 all, 3.3†, 3.5 • no-jquery/no-extend ⚙️ all • no-jquery/no-fade slim, all • no-jquery/no-filter all • no-jquery/no-find • no-jquery/no-find-collection all • no-jquery/no-find-util all • no-jquery/no-fx slim, all • no-jquery/no-fx-interval 3.0, 4.0 • no-jquery/no-global-eval all • no-jquery/no-global-selector ⚙️ • no-jquery/no-grep all • no-jquery/no-has all • no-jquery/no-hold-ready all, 3.2 • no-jquery/no-html ⚙️ all • no-jquery/no-in-array all • no-jquery/no-internal-array-methods recommended, 4.0 • no-jquery/no-is all • no-jquery/no-is-array 🔧 all, 3.2, 4.0 • no-jquery/no-is-empty-object all • no-jquery/no-is-function 🔧 all, 3.3, 4.0 • no-jquery/no-is-numeric all, 3.3, 4.0 • no-jquery/no-is-plain-object all • no-jquery/no-is-window all, 3.3, 4.0 • no-jquery/no-jquery-constructor all • no-jquery/no-jquery-ui • no-jquery/no-live all, 1.7, 1.9 • no-jquery/no-load slim, all • no-jquery/no-load-shorthand 🔧 1.8, 3.0 • no-jquery/no-map • no-jquery/no-map-collection all • no-jquery/no-map-util all • no-jquery/no-merge all • no-jquery/no-node-name all, 3.2, 4.0 • no-jquery/no-noop 🔧 all • no-jquery/no-now 🔧 all, 3.3, 4.0 • no-jquery/no-on-ready 🔧 1.8 • no-jquery/no-other-methods all • no-jquery/no-other-utils all • no-jquery/no-param all • no-jquery/no-parent all • no-jquery/no-parents all • no-jquery/no-parse-html all • no-jquery/no-parse-html-literal ⚙️ 🔧 • no-jquery/no-parse-json 🔧 all, 3.0, 4.0 • no-jquery/no-parse-xml 🔧 slim, all • no-jquery/no-prop all • no-jquery/no-proxy 🔧 all, 3.3 • no-jquery/no-ready • no-jquery/no-ready-shorthand 🔧 all, 3.0 • no-jquery/no-selector-prop all, 1.7, 3.0 • no-jquery/no-serialize all • no-jquery/no-size 🔧 all, 1.8, 3.0 • no-jquery/no-sizzle ⚙️ 3.4† • no-jquery/no-slide slim, all • no-jquery/no-sub all, 1.7 • no-jquery/no-support all, 1.9 • no-jquery/no-text all • no-jquery/no-trigger all • no-jquery/no-trim all, 3.5, 4.0 • no-jquery/no-type all, 3.3, 4.0 • no-jquery/no-unique 🔧 all, 3.0, 4.0 • no-jquery/no-unload-shorthand 🔧 1.8, 3.0 • no-jquery/no-val all •…
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm ESLint plugins plugins
All 20 eslint-plugin-no-jquery alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-no-jquery. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.