tslint
An extensible static analysis linter for the TypeScript language
Last updated 24 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

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.

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

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

  • 5.18.0                                ...           latest (24 days ago)
  • 5.0.0-dev.0                                ...           next (2 years ago)

172 Versions

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

Copyright 2014 - 2017 © taobao.org |