Shared rules for Typescript linter
The rules are strict by default to see what works. If any of the rules is too strict for the everyday work, we cna then turn it off
You need tslint version 5.9 or higher for yaml support
npm install --save-dev @joincivil/tslint-rules
and in your tslint.json
or tslint.yaml
put:
{
"extends": [
"@joincivil/tslint-rules"
]
}
Rememmber that many rules require the --project
flag to work properly.