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 deprecated.

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 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 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.3 MB
Stars 5,800
Forks 936
Watchers 112
Open issues 5
Dependencies 434
Contributors 394
Tags 147
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 Roman Rogowski John Wiseheart

Packages Referencing this Repo

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

Recent Tags See all

6.1.1 April 02, 2020
6.1.0 March 11, 2020
6.0.0 January 21, 2020
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

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-12-18 21:50:38 UTC

Login to resync this repository