Skip to content
PluginStats

eslint-plugin-vitest weekly downloads statistics

By veritem · npm · ESLint plugins

Eslint plugin for vitest

View on npm Fresh · Dec 6, 2026

eslint-plugin-vitest has 778,104 recorded weekly downloads on npm, an increase of 9.1% over the past 30 days, ranking #318 of 3,247 tracked listings.

Weekly downloads
778,104
Official API · Dec 5, 2026
7-day growth
+3.9%
+29.6K weekly downloads
30-day growth
+9.1%
+65.1K weekly downloads
90-day growth
+27.1%
+166.1K weekly downloads
Rank
#318
▼ 5 in 7 days

About eslint-plugin-vitest

eslint-plugin-vitest

npm ci

Eslint plugin for vitest

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-vitest:

npm install eslint-plugin-vitest --save-dev
Usage

Make sure you're running eslint v9.0.0 or higher for the latest version of this plugin to work. The following example is how your eslint.config.js should be setup for this plugin to work for you.

import vitest from "eslint-plugin-vitest";

export default [
  {
    files: ["tests/**"], // or any other pattern
    plugins: {
      vitest
    },
    rules: {
      ...vitest.configs.recommended.rules, // you can also use vitest.configs.all.rules to enable all rules
      "vitest/max-nested-describe": ["error", { "max": 3 }] // you can also modify rules' behavior using option like this
    }, 
  },
];

If you're not using the latest version of eslint (version v8.57.0 or lower) you can setup this plugin using the following configuration

Add vitest to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["vitest"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "vitest/max-nested-describe": [
      "error",
      {
        "max": 3
      }
    ]
  }
}
Enabling with type-testing

Vitest ships with an optional type-testing feature, which is disabled by default.

If you're using this feature, you should also enabled typecheck in the settings for this plugin. This ensures that rules like expect-expect account for type-related assertions in tests.

import vitest from "eslint-plugin-vitest";

export default [
  {
    files: ["tests/**"], // or any other pattern
    plugins: {
      vitest,
    },
    rules: {
      ...vitest.configs.recommended.rules,
    },
   settings: {
      vitest: {
        typecheck: true
      }
    },
    languageOptions: {
      globals: {
        ...vitest.environments.env.globals,
      },
    },
  },
]
Rules
<!-- begin auto-generated rules list -->

💼 Configurations enabled in.
⚠️ Configurations set to warn in.
🌐 Set in the all configuration.
✅ Set in the recommended configuration.
🔧 Automatically fixable by the --fix CLI option.
💡 Manually fixable by editor suggestions.
❌ Deprecated.

Name                                               Description💼⚠️🔧💡❌
consistent-test-filenamerequire .spec test file pattern🌐
consistent-test-itenforce using test or it but not both🌐🔧
expect-expectenforce having expectation in test body✅
max-expectsenforce a maximum number of expect per test🌐
max-nested-describerequire describe block to be less than set max value or default value🌐
no-alias-methodsdisallow alias methods🌐🔧
no-commented-out-testsdisallow commented out tests✅
no-conditional-expectdisallow conditional expects🌐
no-conditional-in-testdisallow conditional tests🌐
no-conditional-testsdisallow conditional tests🌐
no-disabled-testsdisallow disabled tests🌐
no-done-callbackdisallow using a callback in asynchronous tests and hooks🌐💡❌
…

Description from the npm listing.

  • eslint
  • eslintplugin
  • eslint-plugin
  • vitest eslint plugin
  • vitest
  • eslint plugin

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-vitest weekly downloads on npm, last 90 days: 778,104 weekly downloads as of Dec 5, 2026, +27.1% over 90 days.eslint-plugin-vitestWeekly downloads on npm · Last 90 days778,104downloads / week+27.1% 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-plugin-vitest weekly downloads on npm, last 90 days: 778,104 weekly downloads as of Dec 5, 2026, +27.1% over 90 days.

7/30/90-day growth

eslint-plugin-vitest weekly downloads growth on npm: +3.9% over 7 days, +9.1% over 30 days, +27.1% over 90 days.eslint-plugin-vitestWeekly downloads growth on npm778,104downloads / week now7-day growth+29,563 weekly downloads+3.9%30-day growth+65,102 weekly downloads+9.1%90-day growth+166,107 weekly downloads+27.1%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
eslint-plugin-vitest weekly downloads growth on npm: +3.9% over 7 days, +9.1% over 30 days, +27.1% over 90 days.

Ranking history

eslint-plugin-vitest npm ranking history: currently #318 (by weekly downloads).eslint-plugin-vitestnpm ranking · by weekly downloads · Last 90 days#318current 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-plugin-vitest npm ranking history: currently #318 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins290 listings · 15 pages · page 4, #11 (overall #71)
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-plugin-vitest
Date (UTC)Weekly downloadsChange vs. previous
778,104+1.1K
776,960+24.1K
752,838+23.1K
729,755+5.1K
724,607-10.4K
734,977-9.4K
744,397-4.1K
748,541-7.3K
755,855-32.7K
788,540-36.4K
824,963-2.8K
827,779+22.9K
804,912+12.5K
792,449—

Similar npm ESLint plugins plugins

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