Skip to content
PluginStats

eslint-plugin-unicorn weekly downloads statistics

By sindresorhus (6 listings) · npm · ESLint plugins

More than 300 powerful ESLint rules

View on npm Fresh · Oct 18, 2026

eslint-plugin-unicorn has 4,004,617 recorded weekly downloads on npm, a decrease of 39.6% over the past 30 days, ranking #139 of 2,322 tracked listings.

Weekly downloads
4,004,617
Official API · Oct 18, 2026
7-day growth
-45.8%
-3.4M weekly downloads
30-day growth
-39.6%
-2.6M weekly downloads
90-day growth
-42.1%
-2.9M weekly downloads
Rank
#139
Among tracked npm listings

About eslint-plugin-unicorn

eslint-plugin-unicorn 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 300 powerful ESLint rules

Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, Markdown, SOML, TOML, and YAML when used with the matching ESLint language plugin.

Propose a new rule ➡

We do not accept pull requests because of too much AI slop.

Install

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

Requires ESLint >=10.4, flat config, and ESM.

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

Usage

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

If you don't use a preset, set the same languageOptions as shown below.

import unicorn from 'eslint-plugin-unicorn';
import {defineConfig} from 'eslint/config';
import globals from 'globals';

export default defineConfig([
	{
		files: ['**/*.js'],
		languageOptions: {
			globals: globals.builtin,
		},
		plugins: {
			unicorn,
		},
		rules: {
			'unicorn/prefer-module': 'error',
			'unicorn/…': 'error',
		},
	},
	// …
]);

For TypeScript, scope Unicorn to TypeScript files and configure a TypeScript parser for the same config object:

import typescriptEslintParser from '@typescript-eslint/parser';
import unicorn from 'eslint-plugin-unicorn';
import {defineConfig} from 'eslint/config';
import globals from 'globals';

export default defineConfig([
	{
		files: ['**/*.ts'],
		languageOptions: {
			globals: globals.builtin,
			parser: typescriptEslintParser,
		},
		plugins: {
			unicorn,
		},
		rules: {
			'unicorn/prefer-module': '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.
🎨 Set in the recommended-css configuration.
🌐 Set in the recommended-html configuration.
🧩 Set in the recommended-json configuration.
📚 Set in the recommended-markdown configuration.
💎 Set in the recommended-soml configuration.
🛠️ Set in the recommended-toml configuration.
📋 Set in the recommended-yaml configuration.
☑️ Set in the unopinionated configuration.
🔧 Automatically fixable by the --fix CLI option.
💡 Manually fixable by editor suggestions.
💭 Requires type information.…

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

7/30/90-day growth

eslint-plugin-unicorn weekly downloads growth on npm: -45.8% over 7 days, -39.6% over 30 days, -42.1% over 90 days.eslint-plugin-unicornWeekly downloads growth on npm4,004,617downloads / week now7-day growth-3,381,031 weekly downlo…-45.8%30-day growth-2,621,586 weekly downlo…-39.6%90-day growth-2,910,212 weekly downlo…-42.1%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
eslint-plugin-unicorn weekly downloads growth on npm: -45.8% over 7 days, -39.6% over 30 days, -42.1% over 90 days.

Ranking history

eslint-plugin-unicorn npm ranking history: currently #139 (by weekly downloads).eslint-plugin-unicornnpm ranking · by weekly downloads · Last 90 days#139current rank#20#40#60#80#100#120#140#160Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
eslint-plugin-unicorn npm ranking history: currently #139 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 7, #19 (overall #139)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins256 listings · 13 pages · page 1, #16 (overall #16)
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 (544)
Recent weekly downloads observations for eslint-plugin-unicorn
Date (UTC)Weekly downloadsChange vs. previous
4,004,617+556.4K
3,448,237-592.4K
4,040,672-14.4K
4,055,086-1.6M
5,668,291-1.6M
7,305,5010
7,305,501-80.1K
7,385,648+39.2K
7,346,480-31.6K
7,378,095+27.9K
7,350,174-14.2K
7,364,407-39.6K
7,403,975-1.6M
8,990,756—

Similar npm ESLint plugins plugins

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