by Vitest · @vitest/eslint-plugin
The Vitest counterpart of the Jest set: valid titles, real assertions and no accidentally skipped tests.
npm install -D eslint @vitest/eslint-plugin// eslint.config.js
import vitest from "@vitest/eslint-plugin";
export default [
vitest.configs.recommended,
];| Rule | Severity | Linters | Reach | Trend |
|---|---|---|---|---|
| vitest/no-identical-title In ESLint, Oxlint, Biome6.6M reach · +60.0% | error | In ESLint, Oxlint, Biome | 6.6M | +60.0% |
| vitest/no-import-node-test In ESLint, Oxlint6.6M reach · +60.0% | error | In ESLint, Oxlint | 6.6M | +60.0% |
| vitest/expect-expect In ESLint, Oxlint, Biome5.9M reach · +61.5% | error | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/no-conditional-expect In ESLint, Oxlint, Biome5.9M reach · +61.5% | error | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/no-disabled-tests In ESLint, Oxlint, Biome5.9M reach · +61.5% | warn | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/no-focused-tests In ESLint, Oxlint, Biome5.9M reach · +61.5% | error | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/no-standalone-expect In ESLint, Oxlint, Biome5.9M reach · +61.5% | error | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/valid-title In ESLint, Oxlint, Biome5.9M reach · +61.5% | error | In ESLint, Oxlint, Biome | 5.9M | +61.5% |
| vitest/no-commented-out-tests In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/no-interpolation-in-snapshots In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/no-mocks-import In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/no-unneeded-async-expect-function In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/prefer-called-exactly-once-with In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/require-local-test-context-for-concurrent-snapshots In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/valid-describe-callback In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/valid-expect In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |
| vitest/valid-expect-in-promise In ESLint, Oxlint5.9M reach · +61.5% | error | In ESLint, Oxlint | 5.9M | +61.5% |