Skip to content
PluginStats

eslint-plugin-vitest weekly downloads statistics

By veritem · npm · ESLint plugins

Eslint plugin for vitest

View on npm Fresh · Oct 18, 2026

eslint-plugin-vitest has 295,220 recorded weekly downloads on npm, a decrease of 49.4% over the past 30 days, ranking #329 of 2,322 tracked listings.

Weekly downloads
295,220
Official API · Oct 18, 2026
7-day growth
-48.5%
-277.6K weekly downloads
30-day growth
-49.4%
-288.5K weekly downloads
90-day growth
-63.8%
-520.6K weekly downloads
Rank
#329
Among tracked npm listings

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: 295,220 weekly downloads as of Oct 18, 2026, -63.8% over 90 days.eslint-plugin-vitestWeekly downloads on npm · Last 90 days295,220downloads / week-63.8% over 90 days0200K400K600K800K1MJul 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-vitest weekly downloads on npm, last 90 days: 295,220 weekly downloads as of Oct 18, 2026, -63.8% over 90 days.

7/30/90-day growth

eslint-plugin-vitest weekly downloads growth on npm: -48.5% over 7 days, -49.4% over 30 days, -63.8% over 90 days.eslint-plugin-vitestWeekly downloads growth on npm295,220downloads / week now7-day growth-277,629 weekly downloads-48.5%30-day growth-288,490 weekly downloads-49.4%90-day growth-520,616 weekly downloads-63.8%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
eslint-plugin-vitest weekly downloads growth on npm: -48.5% over 7 days, -49.4% over 30 days, -63.8% over 90 days.

Ranking history

eslint-plugin-vitest npm ranking history: currently #329 (by weekly downloads).eslint-plugin-vitestnpm ranking · by weekly downloads · Last 90 days#329current rank#100#150#200#250#300#350Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
eslint-plugin-vitest npm ranking history: currently #329 (by weekly downloads).

Listing placement

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

Listing placement

ESLint plugins256 listings · 13 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 (543)
Recent weekly downloads observations for eslint-plugin-vitest
Date (UTC)Weekly downloadsChange vs. previous
295,220+33.3K
261,938-33.2K
295,187+9.2K
285,941-131.6K
417,492-142.8K
560,3220
560,322-12.5K
572,849-865
573,714+2.5K
571,225-4.6K
575,785-4.1K
579,863-1.5K
581,329-141.1K
722,402—

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 Oct 20, 2026. See the methodology.