Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 770 Bytes

index.md

File metadata and controls

28 lines (20 loc) · 770 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 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.