Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 767 Bytes

index.md

File metadata and controls

28 lines (20 loc) · 767 Bytes
title layout subtitle
TSLint
default
An extensible linter for the TypeScript language.

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.

Quick start

# Install the global CLI and its peer dependency
yarn global add tslint typescript

# Navigate to your sources folder
cd path/to/project

# Generate a basic configuration file
tslint --init

# Lint TypeScript source globs
tslint -c tslint.json 'src/**/*.ts'

Check out the full usage guide to learn more.