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

Other Useful Business Software
Passwordless Authentication and Passwordless Security Icon
Passwordless Authentication and Passwordless Security

Identity is everything. Protect it with Duo.

It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Get a Free Trial
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