SonarSource delivers what is probably the best static code analyzer you can find on the market for TypeScript. Based on Microsoft open-source TypeScript compiler front-end, it uses the most advanced techniques (pattern matching, program flow analysis) to analyze code and find code smells, bugs and security vulnerabilities. As for any product we develop at SonarSource, it was built on the following principles: depth, accuracy and speed.

SonarTS has a great coverage of well-established quality standards. The SonarTS capability is available throughout the development chain for automated code review with self-hosted SonarQube or on-line SonarCloud.

Samples of Issues Detected
Identical Blocks Identical Blocks Identical Blocks
Identical Sub-Expressions Identical Sub-Expressions Identical Sub-Expressions
Template Strings Template Strings Template Strings
Dead Store Dead Store Dead Store
Self-Assignment Self-Assignment Self-Assignment
Condition always true Condition always true Condition always true

Free & Open Source


Issue Tracker

Use in community edition

See all editions