Skip to content
PluginStats

@eslint/css weekly downloads statistics

By eslint (7 listings) · npm · ESLint plugins

CSS linting plugin for ESLint

View on npm Fresh · Dec 6, 2026

@eslint/css has 903,690 recorded weekly downloads on npm, an increase of 22.7% over the past 30 days, ranking #307 of 3,247 tracked listings.

Weekly downloads
903,690
Official API · Dec 5, 2026
7-day growth
+11.8%
+95.2K weekly downloads
30-day growth
+22.7%
+166.9K weekly downloads
90-day growth
+137%
+522.3K weekly downloads
Rank
#307
Among tracked npm listings

About @eslint/css

ESLint CSS Language Plugin

Overview

This package contains a plugin that allows you to natively lint CSS files using ESLint.

Important: This plugin requires ESLint v9.15.0 or higher and you must be using the new configuration system.

Prerequisites

In order to use the ESLint CSS plugin, you must have the following installed:

  1. Node.js
  2. ESLint

Installation

You can install ESLint using npm or other package managers:

npm install eslint -D
# or
yarn add eslint -D
# or
pnpm install eslint -D
# or
bun add eslint -D

Then, for Node.js and compatible runtimes:

npm install @eslint/css -D
# or
yarn add @eslint/css -D
# or
pnpm install @eslint/css -D
# or
bun add @eslint/css -D

For Deno (experimental):

deno add jsr:@eslint/css
Configurations
Configuration NameDescription
recommendedEnables all recommended rules.

In your eslint.config.js file, import @eslint/css and include the recommended config:

// eslint.config.js
import { defineConfig } from "eslint/config";
import css from "@eslint/css";

export default defineConfig([
	// lint CSS files
	{
		files: ["**/*.css"],
		language: "css/css",
		plugins: { css },
		extends: ["css/recommended"],
	},

	// your other configs here
]);
Rules
<!-- NOTE: The following table is autogenerated. Do not manually edit. --> <!-- Rule Table Start -->
Rule NameDescriptionRecommended
font-family-fallbacksEnforce use of fallback fonts and a generic font lastyes
no-duplicate-importsDisallow duplicate @import rulesyes
no-duplicate-keyframe-selectorsDisallow duplicate selectors within keyframe blocksyes
no-empty-blocksDisallow empty blocksyes
no-importantDisallow !important flagsyes
no-invalid-at-rule-placementDisallow invalid placement of at-rulesyes
no-invalid-at-rulesDisallow invalid at-rulesyes
no-invalid-named-grid-areasDisallow invalid named grid areasyes
no-invalid-propertiesDisallow invalid propertiesyes
no-unmatchable-selectorsDisallow unmatchable selectorsyes
prefer-logical-propertiesEnforce the use of logical propertiesno
relative-font-unitsEnforce the use of relative font unitsno
selector-complexityDisallow and limit CSS selectorsno
use-baselineEnforce the use of baseline featuresyes
use-layersRequire use of layersno
<!-- Rule Table End -->

Note: This plugin does not provide formatting rules. We recommend using a source code formatter such as Prettier for that purpose.

In order to individually configure a rule in your eslint.config.js file, import @eslint/css and configure each rule with a prefix:

// eslint.config.js
import { defineConfig } from "eslint/config";
import css from "@eslint/css";

export default defineConfig([
	{
		files: ["**/*.css"],
		plugins: {
			css,
		},
		language: "css/css",
		rules: {
			"css/no-empty-blocks": "error",
		},
	},
]);

You can individually configure, disable, and enable rules in CSS using comments, such as:

<!-- prettier-ignore -->
/* eslint css/no-empty-blocks: error */

/* eslint-disable css/no-empty-blocks -- this one is ok */
a {
}
/* eslint-enable css/no-empty-blocks */

b { /* eslint-disable-line css/no-empty-blocks */
}

/* eslint-disable-next-line css/no-empty-blocks */
em {
}
Languages
Language NameDescription
cssParse CSS stylesheets.

In order to individually configure a language in your eslint.config.js file, import @eslint/css and configure a language:

// eslint.config.js
import { defineConfig } from "eslint/config";
import css from "@eslint/css";

export default defineConfig([
	{
		files: ["**/*.css"],
		plugins: {
			css,
		},
		language: "css/css",
		rules: {
			"css/no-empty-blocks": "error",
		},
	},
]);
Tolerant Mode…

Description from the npm listing.

  • eslint
  • eslint-plugin
  • eslintplugin
  • css
  • linting

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/css weekly downloads on npm, last 90 days: 903,690 weekly downloads as of Dec 5, 2026, +137% over 90 days.@eslint/cssWeekly downloads on npm · Last 90 days903,690downloads / week+137% over 90 days0200K400K600K800K1MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@eslint/css weekly downloads on npm, last 90 days: 903,690 weekly downloads as of Dec 5, 2026, +137% over 90 days.

7/30/90-day growth

@eslint/css weekly downloads growth on npm: +11.8% over 7 days, +22.7% over 30 days, +137% over 90 days.@eslint/cssWeekly downloads growth on npm903,690downloads / week now7-day growth+95,150 weekly downloads+11.8%30-day growth+166,908 weekly downloads+22.7%90-day growth+522,310 weekly downloads+137%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@eslint/css weekly downloads growth on npm: +11.8% over 7 days, +22.7% over 30 days, +137% over 90 days.

Ranking history

@eslint/css npm ranking history: currently #307 (by weekly downloads).@eslint/cssnpm ranking · by weekly downloads · Last 90 days#307current rank#100#150#200#250#300#350Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@eslint/css npm ranking history: currently #307 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 4, #6 (overall #66)
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 (591)
Recent weekly downloads observations for @eslint/css
Date (UTC)Weekly downloadsChange vs. previous
903,690+14.8K
888,937+34.4K
854,510+32.1K
822,390+17K
805,351+10.2K
795,109-4.5K
799,586-9K
808,540-9.5K
818,038-12.8K
830,824-25.8K
856,626-920
857,546+20.7K
836,822+18.4K
818,454—

Similar npm ESLint plugins plugins

All 20 @eslint/css 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/css. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.