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 Fresh · Oct 18, 2026

eslint-unicorn has 26,618 recorded weekly downloads on npm, a decrease of 44.7% over the past 30 days, ranking #721 of 2,322 tracked listings.

Weekly downloads
26,618
Official API · Oct 18, 2026
7-day growth
-36.7%
-15.5K weekly downloads
30-day growth
-44.7%
-21.5K weekly downloads
90-day growth
+34.9%
+6.9K weekly downloads
Rank
#721
Among tracked npm listings

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: 26,618 weekly downloads as of Oct 18, 2026, +34.9% over 90 days.eslint-unicornWeekly downloads on npm · Last 90 days26,618downloads / week+34.9% over 90 days020K40K60K80KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
eslint-unicorn weekly downloads on npm, last 90 days: 26,618 weekly downloads as of Oct 18, 2026, +34.9% over 90 days.

7/30/90-day growth

eslint-unicorn weekly downloads growth on npm: -36.7% over 7 days, -44.7% over 30 days, +34.9% over 90 days.eslint-unicornWeekly downloads growth on npm26,618downloads / week now7-day growth-15,464 weekly downloads-36.7%30-day growth-21,501 weekly downloads-44.7%90-day growth+6,888 weekly downloads+34.9%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
eslint-unicorn weekly downloads growth on npm: -36.7% over 7 days, -44.7% over 30 days, +34.9% over 90 days.

Ranking history

eslint-unicorn npm ranking history: currently #721 (by weekly downloads).eslint-unicornnpm ranking · by weekly downloads · Last 90 days#721current rank#660#670#680#690#700#710#720#730Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
eslint-unicorn npm ranking history: currently #721 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 37, #2 (overall #722)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins256 listings · 13 pages · page 9, #10 (overall #170)
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 (122)
Recent weekly downloads observations for eslint-unicorn
Date (UTC)Weekly downloadsChange vs. previous
26,618-2.1K
28,681-2.1K
30,793-2.2K
33,007-6K
39,044-16.4K
55,4360
55,436+13.4K
42,082+2.6K
39,473+1.7K
37,728+2K
35,692-689
36,381+10.8K
25,607-6.8K
32,363—

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 Oct 20, 2026. See the methodology.