palantir/tslint


vertical_traffic_light An extensible linter for the TypeScript language

http://palantir.github.io/tslint/

License: Apache-2.0

Language: TypeScript

Keywords: linter, linting-rules, static-analysis, tslint, typescript


NPM version Downloads Dependency Status devDependency Status peerDependency Status Circle CI

TSLint

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.

⚠️ TSLint will be deprecated some time in 2019. See this issue for more details: Roadmap: TSLint → ESLint. If you're interested in helping with the TSLint/ESLint migration, please check out our OSS Fellowship program.

TSLint currently supports:

Installation & Usage

Please refer to the full installation & usage documentation on the TSLint website. There, you'll find information about

TSLint Playground

There is a sandbox environment for TSLint at palantir.github.io/tslint-playground, which can be used to test rules and see how TSLint works. Issues can be filed against tslint-playground here.

Custom Rules & Plugins

Custom rule sets from Palantir

Custom rule sets from the community

If we don't have all the rules you're looking for, you can either write your own custom rules or use rules implementations developed by the community. The repos below are a good source of custom rules:

Development

Prerequisites:

  • node v7+
  • yarn v1.0+

Quick Start

git clone git@github.com:palantir/tslint.git --config core.autocrlf=input --config core.eol=lf
yarn
yarn compile
yarn test

Project Statistics

Sourcerank 25
Repository Size 14.2 MB
Stars 5,494
Forks 926
Watchers 109
Open issues 103
Dependencies 434
Contributors 390
Tags 144
Created
Last updated
Last pushed

Top Contributors See all

ashwinr Adi Dahiya Klaus Meinhardt Andy Hanson gscshoyru Noah Chen Jason Killian Josh Goldberg Dick van den Brink Andy Hanson Yuichi Nukiyama Lee Avital Andrii Dieiev Chris Barr aervin_ michaelgmiller Wesley Wigham Martin Probst rrogowski John Wiseheart

Packages Referencing this Repo

tslint-danderson-spotx
An extensible static analysis linter for the TypeScript language
Latest release 5.13.1 - Published - 5.49K stars
@jessitron/tslint
An extensible static analysis linter for the TypeScript language
Latest release 5.12.2 - Updated - 5.49K stars
tslint-sm
An extensible static analysis linter for the TypeScript language
Latest release 100.0.1 - Updated - 5.49K stars
org.webjars.npm:tslint
WebJar for tslint
Latest release 5.8.0 - Updated - 5.49K stars
tslint
A static analysis linter for the TypeScript language.
This package is no longer available on NuGet
tslint-with-multilint
An extensible static analysis linter for the TypeScript language
Latest release 4.0.0-dev - Published - 5.49K stars
npm-tslint
A linter for the TypeScript language.
Latest release 0.1.14 - Published - 5.49K stars
tslint
An extensible static analysis linter for the TypeScript language
Latest release 6.0.0-beta0 - Updated - 5.49K stars
tslint-custom
An extensible static analysis linter for the TypeScript language
Latest release 1.0.2 - Updated - 5.49K stars
@jessitron/tslint-no-truthy-promise
Let's make this just a custom rule for truthy promises
Latest release 0.1.0 - Published - 5.49K stars

Recent Tags See all

6.0.0-beta1 November 05, 2019
5.20.1 November 05, 2019
6.0.0-beta0 November 03, 2019
5.20.0 September 10, 2019
5.19.0 August 20, 2019
5.18.0 June 21, 2019
5.17.0 May 30, 2019
5.16.0 April 16, 2019
5.15.0 April 01, 2019
5.14.0 March 13, 2019
5.13.1 March 01, 2019
5.13.0 February 23, 2019
5.12.1 January 10, 2019
5.12.0 December 18, 2018
5.11.0 July 16, 2018

Interesting Forks See all

panuhorsmalahti/tslint
A linter for the TypeScript language.
TypeScript - Apache-2.0 - Last pushed - 1 stars
pushplay/tslint
A linter for the TypeScript language.
JavaScript - Apache-2.0 - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-11-05 17:59:17 UTC

Login to resync this repository