@bluejay/tslint-mocha
v1.0.3
Published
TSLint rules for Mocha test runner
Downloads
3
Readme
tslint-mocha
UPDATE: Project is abandoned because TSLint is being replaced by ESLint + plugins.
This package provides a TSLint rule that help to enforce some best practices when using Mocha test runner.
Supported rules
mocha-no-only
- to avoid usingit.only()
or similar methods.
How to install
- Run
npm install --save-dev tslint-mocha
- Add to your
tslint.json
file:
"rules": {
"mocha-no-only": true
},
"rulesDirectory": [
"tslint-mocha"
]