TSLint is an extensible static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. It is widely supported across modern editors & build systems and can be customized with your own lint rules, configurations, and formatters.
# Install the global CLI and its peer dependency
yarn global add tslint typescript
# Navigate to your sources folder
# Generate a basic configuration file
# Lint TypeScript source globs
tslint -c tslint.json 'src/**/*.ts'
Check out the full usage guide to learn more.