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.1 MB
Stars 5,384
Forks 924
Watchers 107
Open issues 275
Dependencies 434
Contributors 382
Tags 141
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

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

Recent Tags See all

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
5.10.0 May 03, 2018
5.9.1 January 10, 2018
5.9.0 January 10, 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-09-10 00:49:28 UTC

Login to resync this repository