Neverending Perpetual Motion
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

eslint-plugin-mocha

5.2.1 • Public • Published

NPM Version Build Status Coverage Status Peer Dependencies NPM Downloads

eslint-plugin-mocha

ESLint rules for mocha.

Install and configure

This plugin requires ESLint 4.0.0 or later.

npm install --save-dev eslint-plugin-mocha

Then add a reference to this plugin and selected rules in your eslint config:

{
  "plugins": [
    "mocha"
  ],
  "rules": {
    "mocha/no-exclusive-tests": "error"
  }
}

See Configuring Eslint on eslint.org for more info.

Rules documentation

The documentation of the rules can be found here.

When Not To Use It

If you are not using mocha you should not use this plugin.

install

npm i eslint-plugin-mocha

Downloadsweekly downloads

231,305

version

5.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability