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 ↓57% vs prev 7d
total hits 13
actors 5 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · PT · 🇵🇰 Pakistan
Resources
API endpoints
full doc /v1/registry/eslint-plugin-vitest
compatibility /v1/registry/eslint-plugin-vitest/compatibility