SonarJS

SonarJS: JavaScript Analyzer for SonarQube

Github stars Tracking Chart

SonarJS Quality Gate Coverage

SonarJS is a static code analyser for the JavaScript and TypeScript languages, plugin for SonarQube and SonarCloud.

:arrow_right: Have some feedback?

:arrow_right: eslint-plugin-sonarjs, our plugin for ESLint

Features

  • Advanced rules based on pattern matching and control flow analysis
  • ~220 rules for JavaScript and ~140 rules for TypeScript
  • Compatible with ECMAScript 2015-2019
  • React JSX, Flow and Vue support for JavaScript
  • Metrics (complexity, number of lines etc.)
  • Import of test coverage reports
  • Import of ESLint and TSLint issues

Documentation

You can find documentation here:

Have question or feedback?

GitHub issues

If you want to report a bug, request a feature or provide other kind of feedback, create a GitHub issue.

SonarQube Community Forum

You can also use SonarQube Community Forum. Please do not forget to specify the details of your request, as well as analysers' and SonarQube versions.

Contributing

1. GitHub issue

To request a new feature, create a GitHub issue. Even if you plan to implement it yourself and submit it back to the community, please create an issue to be sure that we can follow up on it.

2. Pull Request

To submit a contribution, create a pull request for this repository. Please make sure that you follow our code style and all tests are passing.

Work with us

Would you like to work on this project full-time? We are hiring! Check out https://www.sonarsource.com/hiring

License

Copyright 2011-2020 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

Main metrics

Overview
Name With OwnerSonarSource/SonarJS
Primary LanguageTypeScript
Program languageJava (Language Count: 13)
Platform
License:Other
所有者活动
Created At2012-05-15 12:35:38
Pushed At2025-04-22 14:26:59
Last Commit At2025-04-22 08:22:02
Release Count157
Last Release Name10.22.0.32148 (Posted on )
First Release Name1.0 (Posted on 2012-06-07 14:30:23)
用户参与
Stargazers Count1.1k
Watchers Count57
Fork Count186
Commits Count4.9k
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count3105
Pull Requests Open Count11
Pull Requests Close Count415
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private