eslint-plugin-no-exclusive-tests

ESLint rule to disallow use of exclusive tests

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-no-exclusive-tests
94711.0.0-rc.18 years ago9 years agoMinified + gzip package size for eslint-plugin-no-exclusive-tests in KB

Readme

eslint-plugin-no-exclusive-tests
ESLint rule to disallow use of exclusive tests

Usage

  1. Install eslint-plugin-no-exclusive-tests as a dev-dependency:
```shell
npm install --save-dev eslint-plugin-no-exclusive-tests
```
  1. Enable the plugin by adding it to your .eslintrc:
```yaml
plugins:
  - no-exclusive-tests
```
The "no-exclusive-tests" rule is enabled by default and set to "2": "turn the rule on as an error (exit code is 1 when triggered)" (see Configuring Rules1).
You may configure the rule by adding it in your .eslintrc rules property:
plugins:
  - no-exclusive-tests
rules:
  no-exlusive-tests/no-exclusive-tests: 0

Rules

Author

© 2015 Tom Vincent

License

Licensed under the MIT license.