Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Latest commit

 

History

History
47 lines (32 loc) · 1.19 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.19 KB

tslint-config-leapfrog

npm version downloads

⚠️ TSLint is deprecated. We don't recommend using this configuration anymore, use eslint-config-leapfrog instead.

Set of TSLint rules for TypeScript projects at Leapfrog.

tslint-config-leapfrog adds rules from tslint-consistent-codestyle and tslint-react.

Requires

  • TypeScript >= 2.5.0
  • TSLint >= 5.8.0

Usage

Add tslint-config-leapfrog as a dev dependency.

yarn add tslint-config-leapfrog --dev

Include tslint-config-leapfrog in your tslint.json file.

{
  "extends": [
    "tslint-config-leapfrog"
  ]
}

For projects using React, include tslint-config-leapfrog/react which contains TSLint rules specific to React.

{
  "extends": [
    "tslint-config-leapfrog/react"
  ]
}

License

MIT