tslint
An extensible static analysis linter for the TypeScript language
Last updated 7 years ago by palantir .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm 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 (5 years ago)
  • 6.1.3                                ...           latest (4 years ago)
  • 5.0.0-dev.0                                ...           next (8 years ago)

181 Versions

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

© 2010 - cnpmjs.org x YWFE | Home | YWFE