tslint
    Overview
    Documentation
    Tutorials
    Insights
    Code
    Dependencies
    Contributors
    Jobs

tslint

An extensible static analysis linter for the TypeScript language

5.20.0  •  Updated 7 months ago  •  by palantir  •  Apache License 2.0

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

Popularity

Weekly Downloads
2.5M
Stars
5.6K

Maintenance

Development

Last ver 7 months ago
Created 7 years ago
Last commit 4 months ago
1 day between commits

Technology

Node version: null
1873K unpacked

Compliance

Apache License 2.0
OSI Approved
0 vulnerabilities

Contributors

267 contributors
Adi Dahiya
Maintainer, 71 commits, 430 merges, 54 PRs
Klaus Meinhardt
Maintainer, 240 commits, 77 merges, 219 PRs
Noah Chen
56 commits, 113 merges, 16 PRs
Andy Hanson
161 commits, 133 PRs
Josh Goldberg
49 commits, 99 merges, 55 PRs
Works at Codecademy
John Wiseheart
10 commits, 38 merges, 11 PRs
Works at palantir

Tags

cli
typescript
linter
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.