This SonarSource project is a static code analyzer for JavaScript, TypeScript and CSS languages. In order to analyze JavaScript, TypeScript or CSS code, you need to have a supported version of Node.js installed on the machine running the scan. Recommended versions are the previous LTS version v14 and the latest version - v16. We recommend using the latest available LTS version (v16 as of today) for optimal stability and performance. v12 is still supported, but it already reached end-of-life and is deprecated. If node is not available in the PATH, you can use property sonar.nodejs.executable to set an absolute path to Node.js executable. If you have a community plugin for CSS analysis installed on your SonarQube instance it will conflict with the analysis of CSS, so it should be removed.

Features

  • Advanced rules based on pattern matching and control flow analysis
  • ~280 rules for JavaScript and TypeScript
  • ~30 rules for CSS
  • Compatible with ECMAScript 2015-2020
  • React JSX, Flow and Vue support for JavaScript and TypeScript
  • CSS, SCSS, Less, also 'style' inside PHP, HTML and VueJS files
  • Metrics (complexity, number of lines etc.)

Project Samples

Project Activity

See All Activity >

License

GNU Free Documentation License

Follow SonarJS

SonarJS Web Site

You Might Also Like
SKUDONET Open Source Load Balancer Icon
SKUDONET Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

SKUDONET ADC, operates at the application layer, efficiently distributing network load and application load across multiple servers. This not only enhances the performance of your application but also ensures that your web servers can handle more traffic seamlessly.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SonarJS!

Additional Project Details

Operating Systems

Windows

Programming Language

TypeScript

Related Categories

TypeScript Source Code Analysis Tool, TypeScript Code Review Software

Registered

2022-05-20