eslint-plugin-mocha
- Version 11.3.0
- Published
- 126 kB
- 2 dependencies
- MIT license
Install
npm i eslint-plugin-mochayarn add eslint-plugin-mochapnpm add eslint-plugin-mochaOverview
Eslint rules for mocha.
Index
Variables
Type Aliases
Variables
variable configs
const configs: { all: MochaConfig; recommended: MochaConfig };variable plugin
const plugin: any;variable rules
const rules: { 'handle-done-callback': any; 'max-top-level-suites': any; 'no-async-suite': any; 'no-exclusive-tests': any; 'no-exports': any; 'no-global-tests': any; 'no-hooks': any; 'no-hooks-for-single-case': any; 'no-identical-title': any; 'no-mocha-arrows': any; 'no-nested-tests': any; 'no-pending-tests': any; 'no-return-and-callback': any; 'no-return-from-async': any; 'no-setup-in-describe': any; 'no-sibling-hooks': any; 'no-synchronous-tests': any; 'no-top-level-hooks': any; 'prefer-arrow-callback': any; 'consistent-spacing-between-blocks': any; 'consistent-interface': any; 'valid-suite-title': any; 'valid-test-title': any; 'no-empty-title': any;};Type Aliases
type MochaPlugin
type MochaPlugin = ESLint.Plugin & { rules: typeof rules; configs: typeof configs;};Package Files (1)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/eslint-plugin-mocha.
- Markdown[](https://www.jsdocs.io/package/eslint-plugin-mocha)
- HTML<a href="https://www.jsdocs.io/package/eslint-plugin-mocha"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3093 ms. - Missing or incorrect documentation? Open an issue for this package.
