TypeScript

clean code for your TypeScript projects

Hundreds of unique rules to find TypeScript bugs, code smells & vulnerabilities

your passion is TypeScript, our passion is Clean Code

Sonar static analysis helps you build and maintain high-quality TypeScript code. Covering popular build systems, standards and versions, Sonar elevates your coding game while keeping dangerous vulnerabilities at bay.

Discover the power of clean code -->
275+ dedicated rules

your palette. covered.

See all TypeScript rules -->

type-aware

The analysis relies on type information and provides you with rules targeting TypeScript-specific syntax.

Learn More -->

open-source

Developed for developers in the open and here to stay.

Learn More -->

quick fixes

Allow you to effortlessly repair your TypeScript coding issues with just a click.

Learn More -->

multi-language codebases

Support multiple languages in your codebase side-by-side: JavaScript, CSS & back-end languages too!

Learn More -->
reduce risk

Own the security of your TypeScript code

Dedicated rules to detect vulnerabilities including ones stemming from OWASP & CWE Top 25 guidelines.

TypeScript Security Rules -->
Image is representing developers and their code in a secure environment free of potential code vulnerabilities.
Code Smarter

Sonar finds the issues while you focus on the work

It all comes from a powerful analysis engine that we constantly refine. Sonar employs advanced rules along with smart, exclusive analysis techniques to find the trickiest, most elusive issues.

Precise static analysis

Deep analysis of your code through symbolic execution, path sensitive analysis & cross function/cross file analysis.

Fast issue resolution

Issue contextualization with secondary locations highlighted and clear remediation guidance helps you understand and construct a fix.

Minimal distractions

Automatic pull request analysis with results decorated in your favorite DevOps platform so you stay in the zone.

The Best Way to Code TypeScript Better

start with Clean Code. end with innovation.

Sonar brings Clean Code to where your code lives. Sonar is tightly integrated with your development workflow to feed you the right info at the right time and place.

For you

in your IDE

SonarLint in your IDE is your first line of defense for keeping the code you write today clean and safe. Issues are raised in-line with clear rule descriptions and guidance.

With SonarLint, the impact is immediate and no configuration is required. You learn from the real-time feedback provided and quickly resolve issue with contextual guidance and automatic Quick Fixes!

SonarLint is available from your IDE marketplace:

Visual Studio | VS Code | JetBrains | Eclipse

Explore SonarLint -->
Sonar works in your Jetbrains, VS Code, Visual Studio and Eclipse IDE's
For your team

in your workflow

Automatically analyze Pull Requests and feature branches with the results decorated in the DevOps platform of your choice.

Your team can share rule configurations and exclusions across projects and coalesce on a shared definition of excellence. The project Quality Gate is visible to everyone and the releasabity status is clear.

Sonar tightly integrates with these popular platforms:

GitHub | Bitbucket | Azure DevOps | GitLab

Learn More -->
bits of code and quality checks are shown as an abstract of a developers environment.
Increase the Value of Your Software

Make each release better than the one before

Sonar empowers developers to write Clean Code

As a developer, your priority is making sure the TypeScript you write today is clean and safe. The SonarQube project homepage highlights the health of your New Code (changed or added) so you’ll clearly know when your code is solid.

Learn More -->

Quality Gates show your project Releasability

Out of the box, the Sonar Quality Gate clearly signals whether your commits are clean and your projects are releasable. A Quality Gate coalesces the team around a shared vision of quality. Everyone knows the standard of excellence and whether it’s being met.

Learn More -->

we support your workflow

Background image of bits of code connecting to each other

start cleaning your code now

Self-managed app -->SaaS App -->
  • Sonar Solutions
    • Clean Code
    • Clean as You Code
    • Commitment to open source
    • For developers
    • For teams
    • For enterprise
    • Federal Government
  • Follow SonarSource on Twitter
  • Follow SonarSource on Linkedin

© 2008-2022, SonarSource S.A, Switzerland. All content is copyright protected. SONAR, SONARSOURCE, SONARLINT, SONARQUBE and SONARCLOUD are trademarks of SonarSource SA. All other trademarks and copyrights are the property of their respective owners. All rights are expressly reserved.