Command-line tool
ts-lint
npm/ts-lint
Checked 22 Nov 2026, 10:58 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
An extensible static analysis linter for the TypeScript language cli typescript linter
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 22 Nov 2026, 10:58 UTC
Install it
Windows
npm install -g ts-lint
macOS
npm install -g ts-lint
Linux
npm install -g ts-lint
Create TSLint config
tslint --init
Lint on a given set of files
tslint path/to/file1.js path/to/file2.js ...
Fix lint issues
tslint --fix
Related command-line tools
- jev-lint
A natural-language linter: ast-grep picks the code, a sentence you write is the rule, and Jev returns the verdict lint… - ast-grep
Code searching, linting, rewriting rust search typescript command-line static-analysis grep tree-sitter… - deno-lint
Blazing fast linter for JavaScript and TypeScript written in Rust - ls-lint
Extremely fast file and directory name linter linter filesystem linter filename linter javascript typescript - rumdl
Markdown Linter and Formatter written in Rust markdown linter lint markdown-linter static-analysis documentation… - hadolint
Smarter Dockerfile linter to validate best practices cli docker portable static-analysis devops-tools linter haskell… - lunte
Self-contained linter for Pear/Bare projects linter lint javascript standard code-quality static-analysis - kube-linter
Static analysis tool for Kubernetes YAML files and Helm charts static-analysis kubernetes hactoberfest helm-charts…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents