tslint-jest

Lint rules for projects that use jest.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
tslint-jest
1.0.54 years ago4 years agoMinified + gzip package size for tslint-jest in KB

Readme

tslint-jest
Lint rules for projects that use jest.

Usage

First install:
npm install --save-dev tslint-jest
Then add tslint-jest to extends in your tslint.json, with the desired rules:
{
  "extends": ["tslint-jest"],
  "rules": {
  		"no-alias-methods": true
  		...
  	}
}

Rules

  • no-alias-methods
- Disallow alias methods
  • expect-expect
- Enforce assertion to be made in a test body

Contributions

Are welcome, see issues.