Skip to content

Litee/tslint-mocha

Repository files navigation

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

About

TSLint rules for enforcing best practices with Mocha test library

Resources

License

Stars

Watchers

Forks

Packages

No packages published