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

leapfrogtechnology/tslint-config-leapfrog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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