SonarJS is a static code analyser for the JavaScript and TypeScript languages, plugin for SonarQube and SonarCloud.
➡️ eslint-plugin-sonarjs, our plugin for ESLint
- 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
You can find documentation here:
If you want to report a bug, request a feature or provide other kind of feedback, create a GitHub issue.
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.
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.
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.
Would you like to work on this project full-time? We are hiring! Check out https://www.sonarsource.com/hiring
Copyright 2011-2019 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0