LinuxCommandLibrary

tslint

tslint

TLDR

Create TSLint config

$ tslint --init
copy


Lint on a given set of files
$ tslint [filename].js [filename1].js
copy


Fix lint issues
$ tslint --fix
copy


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

Copied to clipboard