| Start |
|---|
| Configuration for fewer programming errors This tslint.json example contains a set of configuration to enforce more typings, catch common errors or otherwise confusing constructs that are prone to producing bugs and following more the Coding Guidelines for TypeScript Contributors (opens new window). To enforce this rules, include tslint in your build process and check your code before compiling it with tsc. |
| Basic tslint.json setup This is a basic
|
| Using a predefined ruleset as default
Docs (opens new window) and source code of predfined ruleset (opens new window) So one can simply use: to have a sensible starting configuration. One can then overwrite rules from that preset via |
| Installation and setup To install tslint (opens new window) run command Tslint is configured via file To check file for possible errors in file run command |
Sets of TSLint Rules
Yeoman genearator supports all these presets and can be extends also: |
Read Article
https://develop.horje.com/learn/1434/reference