eslint-plugin-vitest
JSON →ESLint plugin for Vitest, providing test-specific linting rules. The latest stable version is 1.6.16, released on npm with type definitions included. This plugin helps enforce best practices in Vitest test suites, including rules for consistent naming, focused tests, and proper assertions. It supports both ESLint v8 (flat config and legacy) and v9. Key differentiators include type-testing support, a comprehensive set of rules (e.g., no-focused-tests, valid-expect), and compatibility with Vitest's chaining API. The plugin is actively maintained, with frequent releases addressing bugs and adding features. It requires ESLint >=8.57.0 and Vitest as peer dependencies.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 19d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/eslint-plugin-vitest
compatibility /v1/registry/eslint-plugin-vitest/compatibility