LinuxCommandLibrary

tslint

tslint

TLDR

Create TSLint config

$ tslint --init
copy


Lint on a given set of files
$ tslint [path/to/file1.js path/to/file2.js ...]
copy


Fix lint issues
$ tslint --fix
copy


Lint with the configuration file in the project root
$ tslint --project [path/to/project_root]
copy

Copied to clipboard