Skip to content
PluginStats

eslint-plugin-css weekly downloads statistics

By ota-meshi (12 listings) · npm · ESLint plugins

An ESLint plugin that provides rules to verify CSS definition objects.

View on npm Fresh · Dec 6, 2026

eslint-plugin-css has 69,768 recorded weekly downloads on npm, an increase of 53.5% over the past 30 days, ranking #706 of 3,247 tracked listings.

Weekly downloads
69,768
Official API · Dec 5, 2026
7-day growth
+2.6%
+1.7K weekly downloads
30-day growth
+53.5%
+24.3K weekly downloads
90-day growth
+68.2%
+28.3K weekly downloads
Rank
#706
▼ 8 in 7 days

About eslint-plugin-css

Introduction

eslint-plugin-css is an ESLint plugin that provides rules to verify CSS definition objects.

NPM license NPM version NPM downloads NPM downloads NPM downloads NPM downloads NPM downloads Build Status Coverage Status

::: WORKING IN PROGRESS :::

:name_badge: Features

This ESLint plugin provides linting rules to verify CSS definition objects.

  • Find the wrong usage of CSS definition objects, and their hints.
  • Support for Vue and JSX (React).
  • Partial support for styled-components style objects.

You can check on the Online DEMO.

<img alt="vue" src="./images/vue.png" height="150px" style="height: 150px; display: inline-block;"><img alt="jsx" src="./images/jsx.png" height="150px" style="height: 150px; display: inline-block;">

:question: Why is it ESLint plugin?

Stylelint partially supports CSS in JS, but some issues haven't been resolved for a long time.
Also, CSS definitions using template literals are similar to CSS syntax, but CSS definitions using JavaScript objects are not. ESLint may work better for linting JavaScript objects.

<!--DOCS_IGNORE_START-->

:book: Documentation

See documents.

:cd: Installation

npm install --save-dev eslint eslint-plugin-css

Requirements

  • ESLint v7.0.0 and above
  • Node.js v12.22.x, v14.17.x, v16.x and above
<!--DOCS_IGNORE_END-->

:book: Usage

<!--USAGE_SECTION_START-->

Add css to the plugins section of your .eslintrc configuration file (you can omit the eslint-plugin- prefix) and either use one of the two configurations available (recommended or all) or configure the rules you want:

The recommended configuration (eslint.config.js)

The plugin.configs["flat/recommended"] config enables a subset of the rules that should be most useful to most users. See lib/configs/flat/recommended.ts for more details.

// eslint.config.js
import * as cssPlugin from "eslint-plugin-css"
export default [
    cssPlugin.configs["flat/recommended"],
];
The recommended configuration (.eslintrc.*)

The plugin:css/recommended config enables a subset of the rules that should be most useful to most users. See lib/configs/recommended.ts for more details.

// .eslintrc.js
module.exports = {
    "plugins": [
        "css"
    ],
    "extends": [
         // add more generic rulesets here, such as:
         // 'eslint:recommended',
        "plugin:css/recommended"
    ]
}
The standard configuration (eslint.config.js)

The plugin.configs["flat/standard"] config enables a subset of the rules and superset of plugin.configs["flat/recommended"] config that apply a subjective style. See lib/configs/flat/standard.ts for more details.

// eslint.config.js
import * as cssPlugin from "eslint-plugin-css"
export default [
    cssPlugin.configs["flat/standard"],
];
The standard configuration (.eslintrc.*)

The plugin:css/standard config enables a subset of the rules and superset of plugin:css/recommended config that apply a subjective style. See lib/configs/standard.ts for more details.

// .eslintrc.js
module.exports = {
    "plugins": [
        "css"
    ],
    "extends": [
        "plugin:css/standard"
    ]
}
Advanced Configuration

Override/add specific rules configurations. See also: http://eslint.org/docs/user-guide/configuring.

// eslint.config.js
import * as cssPlugin from "eslint-plugin-css"
export default [
    {
        plugins: { css: cssPlugin },
        rules: {
            // Override/add rules settings here, such as:
            "css/rule-name": "error"
        }
    }
];
// .eslintrc.js
module.exports = {
    "plugins": [
        "css"
    ],
    "rules": {
        // Override/add rules settings here, such as:
        "css/rule-name": "error"
    }
}
Using "plugin:css/all"…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • css
  • vue
  • react
  • css-in-js

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-css weekly downloads on npm, last 90 days: 69,768 weekly downloads as of Dec 5, 2026, +68.2% over 90 days.eslint-plugin-cssWeekly downloads on npm · Last 90 days69,768downloads / week+68.2% over 90 days010K20K30K40K50K60K70K80KSep 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-css weekly downloads on npm, last 90 days: 69,768 weekly downloads as of Dec 5, 2026, +68.2% over 90 days.

7/30/90-day growth

eslint-plugin-css weekly downloads growth on npm: +2.6% over 7 days, +53.5% over 30 days, +68.2% over 90 days.eslint-plugin-cssWeekly downloads growth on npm69,768downloads / week now7-day growth+1,740 weekly downloads+2.6%30-day growth+24,319 weekly downloads+53.5%90-day growth+28,299 weekly downloads+68.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-css weekly downloads growth on npm: +2.6% over 7 days, +53.5% over 30 days, +68.2% over 90 days.

Ranking history

eslint-plugin-css npm ranking history: currently #706 (by weekly downloads).eslint-plugin-cssnpm ranking · by weekly downloads · Last 90 days#706current rank#680#700#720#740#760#780#800#820#840#860Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
eslint-plugin-css npm ranking history: currently #706 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 9, #13 (overall #173)
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-plugin-css
Date (UTC)Weekly downloadsChange vs. previous
69,768+606
69,162-393
69,555-106
69,661-170
69,831+1.4K
68,447-398
68,845+817
68,028-213
68,241-2.4K
70,639+877
69,762+1.9K
67,886-876
68,762+724
68,038—

Similar npm ESLint plugins plugins

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