Rule | Description | KPI | URL |
---|---|---|---|
cyclomatic-complexity | Cyclomatic complexity is a code metric which indicates the level of complexity in a function. High cyclomatic complexity indicates confusing code which may be prone to errors or difficult to modify. | Refactoring | https://palantir.github.io/tslint/rules/trailing-comma |
ban-types | Bans specific types from being used. Does not ban the corresponding runtime objects from being used. | Robustness | |
encoding | Enforces UTF-8 file encoding. | Portability |