eslint-plugin-mocha-cakes

4.7.3 • Public • Published

NPM Version Build Status Coverage Status Peer Dependencies NPM Downloads

FORK

This is a fork of eslint-plugin-mocha which adds mocha-cakes keywords to the plugin rules

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.

Package Sidebar

Install

npm i eslint-plugin-mocha-cakes

Weekly Downloads

6

Version

4.7.3

License

MIT

Last publish

Collaborators

  • daniel-lundin