ESLint Plugin Mocha
JSON →ESLint plugin providing rules specific to Mocha test suites, such as enforcing best practices, limiting nested describes, and requiring valid test titles. Current version 11.2.0 (January 2025) with a major breaking change in 11.0.0 that renamed several rules (e.g., *-description to *-title) and switched to ESM-only. The plugin ships TypeScript declarations now. It is maintained and released roughly every few months. Compared to other Mocha linting solutions, this is the official and most widely used plugin with ~1M weekly downloads.
Traffic · last 30 days ↓50% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 1d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom · NZ
Resources
API endpoints
full doc /v1/registry/eslint-plugin-mocha
compatibility /v1/registry/eslint-plugin-mocha/compatibility