TSLint logo

TSLint

An extensible linter for the TypeScript language
116
39
+ 1
0

What is TSLint?

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 is a tool in the Code Review category of a tech stack.

Who uses TSLint?

Companies
44 companies reportedly use TSLint in their tech stacks, including AgFlow, SOFIT Software, and BlipJar.

Developers
65 developers on StackShare have stated that they use TSLint.

TSLint Integrations

Visual Studio Code, Sublime Text, TypeScript, Visual Studio, and Vim are some of the popular tools that integrate with TSLint. Here's a list of all 12 tools that integrate with TSLint.

Why developers like TSLint?

Here鈥檚 a list of reasons why companies and developers use TSLint
Top Reasons
Be the first to leave a pro
TSLint Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose TSLint in their tech stack.

Forrest Norvell
Forrest Norvell
engineering manager at self-employed | 6 upvotes 26.5K views
TSLint
TSLint
ESLint
ESLint
Flow (JS)
Flow (JS)
Visual Studio Code
Visual Studio Code
TypeScript
TypeScript

I use TypeScript because the tooling is more mature (the decision to discontinue TSLint in favor of moving all its checks to ESLint is a thoughtful and mature decision), there's a ton of examples and tutorials for it, and it just generally seems to be where the industry is headed. Flow (JS) is a fine tool, but it just hasn't seen the uptake that TS has, and as a result is lacking a lot of the nicer small things, like thorough Visual Studio Code integration, offered by TS.

See more
Pierre Chapuis
Pierre Chapuis
at Pierre Chapuis | 6 upvotes 11.2K views
atChilliChilli
Angular 2
Angular 2
Stencil
Stencil
Sass
Sass
TSLint
TSLint

We chose Angular 2+ because our product has a rather complex back-office, most of which is visible only to our employees and contractors.

The "full featured" approach of Angular as well as the way it deals with the data model suited this business case well. We also use the Reactive Forms module a lot, as well as Clarity (an Open Source design system by VMWare) for the internal parts of the product. We also intend to use Angular's offline features.

For user-facing parts of the product we are now considering implementing views as Web Components with Stencil. We use Sass (SCSS syntax) for styling and TSLint to enforce a style guide close to Angular's default.

See more

TSLint's Features

  • Extensive set of core rules
  • Custom lint rules
  • Custom formatters (failure reporters)
  • Configuration presets
  • Composition
  • Automatic fixing of formatting & style violations

TSLint Alternatives & Comparisons

What are some alternatives to TSLint?
ESLint
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
React Native
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
Prettier
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
SonarQube
SonarQube provides an overview of the overall health of your source code and even more importantly, it highlights issues found on new code. With a Quality Gate set on your project, you will simply fix the Leak and start mechanically improving.
Code Climate
After each Git push, Code Climate analyzes your code for complexity, duplication, and common smells to determine changes in quality and surface technical debt hotspots.
See all alternatives

TSLint's Followers
39 developers follow TSLint to keep up with related blogs and decisions.
kronesbastian
Ali Edalati Pour
Matt Eland
Himansu Sekhar
Mohamma76685757
Sam Walsh
cryptocommando
Pavel Vladim铆r Gal Tr谩vn铆膷ek
gpuexchange
cnotv