Personal TSLint configuration.
npm install @jupl/tslint-config tslint
Add to tsconfig.json
:
{
"compilerOptions": {
...
"strict": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}
Add to tslint.json
:
{
"extends": "@jupl/tslint-config"
}
If using JSX:
{
"extends": [
"@jupl/tslint-config",
"@jupl/tslint-config/jsx"
]
}