A preset with TSLint rules for development of Angular applications. The preset contains both, tslint core rules, and codelyzer rules, which are going to perform Angular specific linting.
Note: there are few more rules added on top of the Angular CLI configuration:
"angular-whitespace": ,"use-view-encapsulation": true,"contextual-life-cycle": true,"banana-in-box": true,
npm i tslint-angular --save-dev
After that configure
tslint.json to use the preset:
component-selector are configurable so you need to add them manually in the
rules section of