tslint-jest

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i tslint-jest

Weekly Downloads

505

Version

1.0.5

License

ISC

Unpacked Size

11.2 kB

Total Files

7

Last publish

Collaborators

  • eranshabi