tslint Command Examples

A pluggable linting utility for TypeScript. More information: https://palantir.github.io/tslint.

tslint --init

tslint {{path/to/file1.js path/to/file2.js ...}}

tslint --fix

tslint --project {{path/to/project_root}}