All Projects → palantir → Tslint

palantir / Tslint

Licence: apache-2.0
🚦 An extensible linter for the TypeScript language

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Tslint

Sonarts
Static code analyzer for TypeScript
Stars: ✭ 776 (-86.9%)
Mutual labels:  static-analysis, linter, tslint
Detekt
Static code analysis for Kotlin
Stars: ✭ 4,169 (-29.6%)
Mutual labels:  linter, static-analysis
Exakat
The Exakat Engine : smart static analysis for PHP
Stars: ✭ 346 (-94.16%)
Mutual labels:  static-analysis, linter
Credo
A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
Stars: ✭ 4,144 (-30.02%)
Mutual labels:  static-analysis, linter
Pylint
It's not just a linter that annoys you!
Stars: ✭ 3,733 (-36.96%)
Mutual labels:  static-analysis, linter
Dlint
Dlint is a tool for encouraging best coding practices and helping ensure we're writing secure Python code.
Stars: ✭ 320 (-94.6%)
Mutual labels:  static-analysis, linter
Lynt
✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
Stars: ✭ 390 (-93.41%)
Mutual labels:  linter, tslint
Linter
Static Analysis Compiler Plugin for Scala
Stars: ✭ 273 (-95.39%)
Mutual labels:  static-analysis, linter
Sqlvet
Go fearless SQL. Sqlvet performs static analysis on raw SQL queries in your Go code base.
Stars: ✭ 410 (-93.08%)
Mutual labels:  static-analysis, linter
Awesome Linters
A community-driven list of awesome linters.
Stars: ✭ 439 (-92.59%)
Mutual labels:  static-analysis, linter
Eslint Plugin Sonarjs
SonarJS rules for ESLint
Stars: ✭ 458 (-92.27%)
Mutual labels:  static-analysis, linter
Pytype
A static type analyzer for Python code
Stars: ✭ 3,545 (-40.14%)
Mutual labels:  static-analysis, linter
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (-23.32%)
Mutual labels:  static-analysis, linter
Pmd
An extensible multilanguage static code analyzer.
Stars: ✭ 3,667 (-38.08%)
Mutual labels:  static-analysis, linter
Lint Review
An automated code linting bot that integrates various code lint tools with github pull requests.
Stars: ✭ 279 (-95.29%)
Mutual labels:  linter, tslint
Go Tools
Staticcheck - The advanced Go linter
Stars: ✭ 4,317 (-27.1%)
Mutual labels:  static-analysis, linter
Shellcheck
ShellCheck, a static analysis tool for shell scripts
Stars: ✭ 27,211 (+359.49%)
Mutual labels:  static-analysis, linter
Typescript Tslint Plugin
TypeScript TSLint language service plugin
Stars: ✭ 270 (-95.44%)
Mutual labels:  linter, tslint
Wotan
Pluggable TypeScript and JavaScript linter
Stars: ✭ 271 (-95.42%)
Mutual labels:  static-analysis, linter
Go Ruleguard
Define and run pattern-based custom linting rules.
Stars: ✭ 402 (-93.21%)
Mutual labels:  static-analysis, linter

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, check out the typescript-eslint roadmap.

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 [email protected]:palantir/tslint.git --config core.autocrlf=input --config core.eol=lf
yarn
yarn compile
yarn test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].