snippetbashTip
tslint — A pluggable linting utility for TypeScript. More information: <https://palantir.github.io/tslint/>.
Viewed 0 times
commandlintingclitypescriptpluggablefortslintutility
Problem
How to use the
tslint command: A pluggable linting utility for TypeScript. More information: <https://palantir.github.io/tslint/>.Solution
tslint — A pluggable linting utility for TypeScript. More information: <https://palantir.github.io/tslint/>.Create TSLint config:
tslint --initLint on a given set of files:
tslint {{path/to/file1.js path/to/file2.js ...}}Fix lint issues:
tslint --fixLint with the configuration file in the project root:
tslint --project {{path/to/project_root}}Code Snippets
Create TSLint config
tslint --initLint on a given set of files
tslint {{path/to/file1.js path/to/file2.js ...}}Fix lint issues
tslint --fixLint with the configuration file in the project root
tslint --project {{path/to/project_root}}Context
tldr-pages: common/tslint
Revisions (0)
No revisions yet.