eslint-plugin-mocha 12.0.2
Eslint rules for mocha.
eslint-plugin-mocha@12.0.2 was published on 2026-08-04. Its manifest declares 6 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.0.0.
All eslint-plugin-mocha versions · Permanent reference to 12.0.2 · Latest release
Package specifications
| Version | 12.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-08-04T07:29:22.201Z |
| Node.js requirement | >=22.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 6 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 272.79 KiB |
| Published file count | 154 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | ["./ast/mocha-visitors.js","./callback-handling-state.js","./mocha/all-name-details.js","./mocha/config-call.js","./package-metadata.js","./plugin.js","./rules/consistent-interface.js","./rules/limit-retries.js","./rules/limit-slow.js","./rules/no-async-in-sync-tests.js","./rules/no-conditional-tests.js","./rules/no-synchronous-tests.js","./rules/prefer-arrow-callback.js","./rules/valid-suite-title.js","./rules/valid-test-title.js"] |
| Direct advisories | 0 |
| Resolved graph dependencies | 11 |
| Repository stars | 288 |
| Repository forks | 72 |
Install eslint-plugin-mocha 12.0.2
npm install eslint-plugin-mocha@12.0.2 pnpm add eslint-plugin-mocha@12.0.2 yarn add eslint-plugin-mocha@12.0.2
Runtime dependencies
- globals 17.8.0
- type-fest 5.8.0
- @eslint/core 1.2.1
- @types/estree 1.0.9
- json-schema-to-ts 3.1.1
- @eslint-community/eslint-utils 4.10.1
Peer requirements
- eslint >=10.2.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — indirect
- @eslint-community/eslint-utils@4.10.1 — direct
- @eslint/core@1.2.1 — direct
- @types/estree@1.0.9 — direct
- @types/json-schema@7.0.15 — indirect
- eslint-visitor-keys@3.4.3 — indirect
- globals@17.8.0 — direct
- json-schema-to-ts@3.1.1 — direct
- tagged-tag@1.0.0 — indirect
- ts-algebra@2.0.0 — indirect
- type-fest@5.8.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 5/10 — branch protection is not maximal on development and all release branches |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/eslint-plugin-mocha/12.0.2 — retrieved 2026-10-30T23:13:01.816Z
- https://api.deps.dev/v3/systems/npm/packages/eslint-plugin-mocha/versions/12.0.2 — retrieved 2026-10-30T23:13:02.201Z
- https://api.deps.dev/v3/systems/npm/packages/eslint-plugin-mocha/versions/12.0.2:dependencies — retrieved 2026-10-30T23:13:02.229Z
- https://api.deps.dev/v3/projects/github.com%2Flo1tuma%2Feslint-plugin-mocha — retrieved 2026-10-30T23:13:02.676Z