tslint-config-leapfrog
v1.0.3
Published
TSLint config for TypeScript projects at Leapfrog
Downloads
1,293
Readme
tslint-config-leapfrog
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"
]
}