/SonarJS

SonarJS: JavaScript and TypeScript Analyzer for SonarQube

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

SonarJS Quality Gate Coverage

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

➡️ Have some feedback?

➡️ 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-2019 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0