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 · Dec 6, 2026

eslint-plugin-unicorn has 10,036,769 recorded weekly downloads on npm, an increase of 6.7% over the past 30 days, ranking #142 of 3,247 tracked listings.

Weekly downloads
10,036,769
Official API · Dec 5, 2026
7-day growth
+11.5%
+1M weekly downloads
30-day growth
+6.7%
+626.4K weekly downloads
90-day growth
+54.9%
+3.6M weekly downloads
Rank
#142
▼ 1 in 7 days

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: 10,036,769 weekly downloads as of Dec 5, 2026, +54.9% over 90 days.eslint-plugin-unicornWeekly downloads on npm · Last 90 days10,036,769downloads / week+54.9% over 90 days02M4M6M8M10M12MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
eslint-plugin-unicorn weekly downloads on npm, last 90 days: 10,036,769 weekly downloads as of Dec 5, 2026, +54.9% over 90 days.

7/30/90-day growth

eslint-plugin-unicorn weekly downloads growth on npm: +11.5% over 7 days, +6.7% over 30 days, +54.9% over 90 days.eslint-plugin-unicornWeekly downloads growth on npm10,036,769downloads / week now7-day growth+1,032,183 weekly downlo…+11.5%30-day growth+626,360 weekly downloads+6.7%90-day growth+3,557,079 weekly downlo…+54.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-unicorn weekly downloads growth on npm: +11.5% over 7 days, +6.7% over 30 days, +54.9% over 90 days.

Ranking history

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

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 1, #19 (overall #19)
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 (592)
Recent weekly downloads observations for eslint-plugin-unicorn
Date (UTC)Weekly downloadsChange vs. previous
10,036,769+88.5K
9,948,296+317.2K
9,631,104+324.3K
9,306,831+189.1K
9,117,772+128.1K
8,989,653+37.6K
8,952,102-52.5K
9,004,586-65.2K
9,069,765-254.6K
9,324,383-308.5K
9,632,881-117.4K
9,750,256-115.8K
9,866,096-84.8K
9,950,933—

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 Dec 6, 2026. See the methodology.