Skip to content
PluginStats

eslint-unicorn weekly downloads statistics

By sindresorhus (6 listings) · npm · ESLint plugins

More than 100 powerful ESLint rules

View on npm Outdated · Nov 20, 2026

eslint-unicorn has 203 recorded weekly downloads on npm, a decrease of 99.3% over the past 30 days, ranking #2491 of 3,247 tracked listings.

Weekly downloads
203
Official API · Dec 5, 2026
7-day growth
+31.0%
+48 weekly downloads
30-day growth
-99.3%
-30.2K weekly downloads
90-day growth
-99.7%
-60.7K weekly downloads
Rank
#2491
▼ 58 in 7 days

About eslint-unicorn

eslint-plugin-unicorn Coverage Status npm version

<!-- markdownlint-disable-next-line no-inline-html --> <img src="https://cloud.githubusercontent.com/assets/170270/18659176/1cc373d0-7f33-11e6-890f-0ba35362ee7e.jpg" width="180" align="right" alt="Unicorn">

More than 100 powerful ESLint rules

You might want to check out XO, which includes this plugin.

Propose or contribute a new rule ➡

Install

npm install --save-dev eslint eslint-plugin-unicorn

Usage (eslint.config.js)

Requires ESLint >=8.56.0.

Use a preset config or configure each rule in eslint.config.js.

If you don't use the preset, ensure you use the same languageOptions config as below.

ES Module (Recommended)
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
import globals from 'globals';

export default [
	{
		languageOptions: {
			globals: globals.builtin,
		},
		plugins: {
			unicorn: eslintPluginUnicorn,
		},
		rules: {
			'unicorn/better-regex': 'error',
			'unicorn/…': 'error',
		},
	},
	// …
];
CommonJS
'use strict';
const eslintPluginUnicorn = require('eslint-plugin-unicorn');
const globals = require('globals');

module.exports = [
	{
		languageOptions: {
			globals: globals.builtin,
		},
		plugins: {
			unicorn: eslintPluginUnicorn,
		},
		rules: {
			'unicorn/better-regex': 'error',
			'unicorn/…': 'error',
		},
	},
	// …
];

Usage (legacy: .eslintrc.* or package.json)

Use a preset config or configure each rule in package.json.

If you don't use the preset, ensure you use the same env and parserOptions config as below.

{
	"name": "my-awesome-project",
	"eslintConfig": {
		"env": {
			"es2024": true
		},
		"parserOptions": {
			"ecmaVersion": "latest",
			"sourceType": "module"
		},
		"plugins": [
			"unicorn"
		],
		"rules": {
			"unicorn/better-regex": "error",
			"unicorn/…": "error"
		}
	}
}

Rules

<!-- Do not manually modify this list. Run: `npm run fix:eslint-docs` --> <!-- begin auto-generated rules list -->

💼 Configurations enabled in.
✅ Set in the recommended configuration.
🔧 Automatically fixable by the --fix CLI option.
💡 Manually fixable by editor suggestions.

Name                                   Description💼🔧💡
better-regexImprove regexes by making them shorter, consistent, and safer.✅🔧
catch-error-nameEnforce a specific parameter name in catch clauses.✅🔧
consistent-destructuringUse destructured variables over properties.🔧💡
consistent-empty-array-spreadPrefer consistent types when spreading a ternary in an array literal.✅🔧
consistent-function-scopingMove function definitions to the highest possible scope.✅
custom-error-definitionEnforce correct Error subclassing.🔧
empty-brace-spacesEnforce no spaces between braces.✅🔧
error-messageEnforce passing a…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • unicorn
  • linter
  • lint
  • style
  • xo

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

eslint-unicorn weekly downloads on npm, last 90 days: 203 weekly downloads as of Dec 5, 2026, -99.7% over 90 days.eslint-unicornWeekly downloads on npm · Last 90 days203downloads / week-99.7% over 90 days010K20K30K40K50K60K70KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-unicorn weekly downloads on npm, last 90 days: 203 weekly downloads as of Dec 5, 2026, -99.7% over 90 days.

7/30/90-day growth

eslint-unicorn weekly downloads growth on npm: +31.0% over 7 days, -99.3% over 30 days, -99.7% over 90 days.eslint-unicornWeekly downloads growth on npm203downloads / week now7-day growth+48 weekly downloads+31.0%30-day growth-30,226 weekly downloads-99.3%90-day growth-60,664 weekly downloads-99.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-unicorn weekly downloads growth on npm: +31.0% over 7 days, -99.3% over 30 days, -99.7% over 90 days.

Ranking history

eslint-unicorn npm ranking history: currently #2491 (by weekly downloads).eslint-unicornnpm ranking · by weekly downloads · Last 90 days#2491current rank#500#1000#1500#2000#2500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 36 observations · Updated Dec 5, 2026pluginstats.com
eslint-unicorn npm ranking history: currently #2491 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 125, #11 (overall #2,491)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins290 listings · 15 pages · page 15, #10 (overall #290)
ESLint plugins: every listing in weekly downloads order

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 (170)
Recent weekly downloads observations for eslint-unicorn
Date (UTC)Weekly downloadsChange vs. previous
203-108
311+41
270+84
186-2
188-43
231+8
223+68
155-12
167+1
166-29
195+3
192+35
157-22
179—

Similar npm ESLint plugins plugins

All 20 eslint-unicorn alternatives

Data 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-unicorn. First seen Oct 16, 2026; last successful collection Nov 20, 2026. See the methodology.