{"library":"eslint-plugin-mocha","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"11.2.0","tags":["javascript","eslint","eslintplugin","eslint-plugin","mocha","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-mocha","imports":["import mochaPlugin from 'eslint-plugin-mocha'","import { configs } from 'eslint-plugin-mocha'","import { rules } from 'eslint-plugin-mocha'"]},{"cmd":"yarn add eslint-plugin-mocha","imports":[]},{"cmd":"pnpm add eslint-plugin-mocha","imports":[]}],"homepage":null,"github":"https://github.com/lo1tuma/eslint-plugin-mocha","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-mocha","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-mocha/compatibility"}}