⚠️ 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
.
- TypeScript >= 2.5.0
- TSLint >= 5.8.0
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"
]
}