tslint
An extensible static analysis linter for the TypeScript language
Last updated 6 days ago by palantir .
Apache-2.0 · Repository · Original npm · Tarball · package.json
$ cnpm install tslint 
SYNC missed versions from official npm registry.

NPM version Downloads Dependency Status devDependency Status peerDependency Status Circle CI

TSLint

:warning: 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

Current Tags

  • 6.0.0-beta1                                ...           beta (9 months ago)
  • 6.1.3                                ...           latest (6 days ago)
  • 5.0.0-dev.0                                ...           next (3 years ago)

182 Versions

  • 6.1.3                                ...           6 days ago
  • 6.1.2 [deprecated]           ...           3 months ago
  • 6.1.1 [deprecated]           ...           4 months ago
  • 6.1.0 [deprecated]           ...           5 months ago
  • 6.0.0 [deprecated]           ...           7 months ago
  • 6.0.0-beta1                                ...           9 months ago
  • 5.20.1                                ...           9 months ago
  • 6.0.0-beta0                                ...           9 months ago
  • 5.20.0                                ...           a year ago
  • 5.19.0                                ...           a year ago
  • 5.18.0                                ...           a year ago
  • 5.17.0                                ...           a year ago
  • 5.16.0                                ...           a year ago
  • 5.15.0                                ...           a year ago
  • 5.14.0                                ...           a year ago
  • 5.13.1                                ...           a year ago
  • 5.13.0                                ...           a year ago
  • 5.12.1                                ...           2 years ago
  • 5.12.0                                ...           2 years ago
  • 5.11.0                                ...           2 years ago
  • 5.10.0                                ...           2 years ago
  • 5.9.1                                ...           3 years ago
  • 5.9.0                                ...           3 years ago
  • 5.8.0                                ...           3 years ago
  • 5.7.0                                ...           3 years ago
  • 5.6.0                                ...           3 years ago
  • 5.5.0                                ...           3 years ago
  • 5.4.3                                ...           3 years ago
  • 5.4.2                                ...           3 years ago
  • 5.4.1                                ...           3 years ago
  • 5.4.0                                ...           3 years ago
  • 5.3.2                                ...           3 years ago
  • 5.3.0                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 5.0.0-dev.0                                ...           3 years ago
  • 4.5.1-dev.0                                ...           3 years ago
  • 4.5.1                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.2                                ...           4 years ago
  • 4.4.1                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.0-dev.0                                ...           4 years ago
  • 4.3.1                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0-dev.0                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.0-dev.0                                ...           4 years ago
  • 4.1.1                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0-dev.3                                ...           4 years ago
  • 4.0.2                                ...           4 years ago
  • 4.0.1                                ...           4 years ago
  • 4.0.0-dev.2                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 4.0.0-dev.1                                ...           4 years ago
  • 4.0.0-dev.0                                ...           4 years ago
  • 3.15.1                                ...           4 years ago
  • 3.15.0                                ...           4 years ago
  • 3.15.0-dev.0                                ...           4 years ago
  • 3.14.0                                ...           4 years ago
  • 3.14.0-dev.1                                ...           4 years ago
  • 3.14.0-dev.0                                ...           4 years ago
  • 3.13.0                                ...           4 years ago
  • 3.13.0-dev.0                                ...           4 years ago
  • 3.12.0-dev.2                                ...           4 years ago
  • 3.12.1                                ...           4 years ago
  • 3.12.0-dev.1                                ...           4 years ago
  • 3.12.0                                ...           4 years ago
  • 3.12.0-dev.0                                ...           4 years ago
  • 3.11.0                                ...           4 years ago
  • 3.11.0-dev.0                                ...           4 years ago
  • 3.10.0-dev.3                                ...           4 years ago
  • 3.10.2                                ...           4 years ago
  • 3.10.0-dev.2                                ...           4 years ago
  • 3.10.1                                ...           4 years ago
  • 3.10.0-dev.1                                ...           4 years ago
  • 3.10.0                                ...           4 years ago
  • 3.10.0-dev.0                                ...           4 years ago
  • 3.9.0                                ...           4 years ago
  • 3.9.0-dev.0                                ...           4 years ago
  • 3.8.1                                ...           4 years ago
  • 3.8.0-dev.1                                ...           4 years ago
  • 3.8.0                                ...           4 years ago
  • 3.8.0-dev.0                                ...           4 years ago
  • 3.7.4                                ...           4 years ago
  • 3.7.0-dev.5                                ...           4 years ago
  • 3.7.0-dev.4                                ...           4 years ago
  • 3.7.3                                ...           4 years ago
  • 3.7.2                                ...           4 years ago
  • 3.7.0-dev.3                                ...           4 years ago
  • 3.7.1                                ...           4 years ago
  • 3.7.0-dev.2                                ...           4 years ago
  • 3.7.0                                ...           4 years ago
  • 3.7.0-dev.1                                ...           4 years ago
  • 3.6.0                                ...           4 years ago
  • 3.6.0-dev.1                                ...           4 years ago
  • 3.5.0                                ...           4 years ago
  • 3.5.0-dev.1                                ...           4 years ago
  • 3.4.0                                ...           4 years ago
  • 3.4.0-dev.2                                ...           4 years ago
  • 3.4.0-dev.1                                ...           4 years ago
  • 3.3.0-dev.2                                ...           5 years ago
  • 3.3.0                                ...           5 years ago
  • 3.3.0-dev.1                                ...           5 years ago
  • 3.2.2                                ...           5 years ago
  • 3.2.2-dev.1                                ...           5 years ago
  • 3.2.1                                ...           5 years ago
  • 3.2.1-dev.1                                ...           5 years ago
  • 3.2.0                                ...           5 years ago
  • 3.2.0-dev.2                                ...           5 years ago
  • 3.2.0-dev.1                                ...           5 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.1.0-dev.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 3.0.0-dev.3                                ...           5 years ago
  • 3.0.0-dev.2                                ...           5 years ago
  • 3.0.0-dev.1                                ...           5 years ago
  • 2.6.0-dev.2                                ...           5 years ago
  • 2.5.1                                ...           5 years ago
  • 2.6.0-dev.1                                ...           5 years ago
  • 2.5.0                                ...           5 years ago
  • 2.5.0-beta                                ...           5 years ago
  • 2.4.5                                ...           5 years ago
  • 2.5.0-dev.5                                ...           5 years ago
  • 2.4.4                                ...           5 years ago
  • 2.5.0-dev.4                                ...           5 years ago
  • 2.5.0-dev.3                                ...           5 years ago
  • 2.4.3                                ...           5 years ago
  • 2.5.0-dev.2                                ...           5 years ago
  • 2.5.0-dev.1                                ...           5 years ago
  • 2.4.2                                ...           5 years ago
  • 2.4.1                                ...           5 years ago
  • 2.4.0                                ...           5 years ago
  • 2.3.1-beta                                ...           5 years ago
  • 2.3.0-beta                                ...           5 years ago
  • 2.2.0-beta                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.4.14                                ...           6 years ago
  • 0.4.13                                ...           6 years ago
  • 0.4.12                                ...           6 years ago
  • 0.4.11                                ...           6 years ago
  • 0.4.10                                ...           6 years ago
  • 0.4.9                                ...           6 years ago
  • 0.1.3                                ...           7 years ago
  • 0.4.8                                ...           6 years ago
  • 0.4.7                                ...           6 years ago
  • 0.4.6                                ...           6 years ago
  • 0.4.5                                ...           6 years ago
  • 0.4.4                                ...           6 years ago
  • 0.4.3                                ...           6 years ago
  • 0.4.2                                ...           7 years ago
  • 0.4.1                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.3.3                                ...           7 years ago
  • 0.3.2                                ...           7 years ago
  • 0.3.1                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.10                                ...           7 years ago
  • 0.2.9                                ...           7 years ago
  • 0.2.8                                ...           7 years ago
  • 0.2.7                                ...           7 years ago
  • 0.2.6                                ...           7 years ago
  • 0.2.5                                ...           7 years ago
  • 0.2.4                                ...           7 years ago
  • 0.2.3                                ...           7 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.6                                ...           7 years ago
  • 0.1.5                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 771
This Week 37,291
This Month 43,644
Last Day 9,363
Last Week 49,245
Last Month 201,692
Dependencies (13)
Dev Dependencies (28)
Dependents (3296)

Copyright 2014 - 2016 © taobao.org |