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.

TSLint currently supports:

Installation & Usage

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

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
cd tslint
yarn
yarn compile
yarn test

Project Statistics

Sourcerank 25
Repository Size 13.9 MB
Stars 5,146
Forks 914
Watchers 105
Open issues 550
Dependencies 433
Contributors 367
Tags 138
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 Wesley Wigham aervin_ michaelgmiller Martin Probst rrogowski Derek Cicerone

Packages Referencing this Repo

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

Recent Tags See all

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
5.10.0 May 03, 2018
5.9.1 January 10, 2018
5.9.0 January 10, 2018
5.8.0 October 20, 2017
5.7.0 August 25, 2017
5.6.0 August 07, 2017

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-06-11 19:44:17 UTC

Login to resync this repository