Package Exports
- eslint-plugin-mocha
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-mocha) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-plugin-mocha
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": [
"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.