1.0.3 • Published 2 years ago

@bluejay/tslint-mocha v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 using it.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"
  ]

Status

Build Status