kaiza / tslint-jasmine-rules

tslint rules for jasmine tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tslint-jasmine-rules

tslint rules for jasmine tests

Install

npm install tslint-jasmine-rules --save-dev

Then reference the rules in your tslint.json and enable the rules you want:

{
  "extends": [
    "tslint-jasmine-rules"
  ],
  "rules":{
  }
}

Available rules

{
  "no-focused-tests": true,
  "no-disabled-tests": true,
  "expect-length": true
}

Fixable

The following rules are fixable:

  • no-focused-tests
  • no-disabled-tests

Fixes are not applied when "severity": "warning" is used.

About

tslint rules for jasmine tests

License:MIT License


Languages

Language:TypeScript 100.0%