npm i tslint-config-webcomputing --save-dev
Add the following config in your tslint.json
file, to extend from our basic configuration:
{
"extends": "@webcomputing/tslint-config-webcomputing"
}
For angular workspaces, we recommend to extend from tslint-angular.json
file
{
"extends": "@webcomputing/tslint-config-webcomputing/tslint-angular"
}
The popular VSCode linting extension TSLint isn't able to support rules that need typing, e.g. no-floating-promises
or use-strict-boolean
and is hence deprecated.
Please make sure you use the new extension TSLint along with tslint-language-service.