node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


NPM Version Build Status Coverage Status Peer Dependencies NPM Downloads


ESLint rules for mocha.

Install and configure

This plugin requires ESLint 2.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": [
  "rules": {
    "mocha/no-exclusive-tests": "error"

See Configuring Eslint on 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.