Skip to content

SonarSource Static Analyzer for JavaScript and TypeScript

License

Notifications You must be signed in to change notification settings

JithilNCA/SonarJS

 
 

Repository files navigation

Quality Gate Coverage

This SonarSource project is a static code analyser for JavaScript, TypeScript and CSS languages.

➡️ Have some feedback?

➡️ eslint-plugin-sonarjs, our plugin for ESLint

Features

  • Advanced rules based on pattern matching and control flow analysis
  • 340 JS rules and 340+ TS rules
  • 25 CSS rules
  • Compatible with ECMAScript 2015-2020
  • React JSX, Flow, Vue, and AWS lambda functions support for JavaScript and TypeScript
  • CSS, SCSS, Less, also 'style' inside PHP, HTML and VueJS files
  • Metrics (complexity, number of lines etc.)
  • Import of test coverage reports
  • Import of ESLint, TSLint and Stylelint issues

Documentation

You can find documentation here

Have question or feedback?

SonarSource Community Forum

If you want to report a bug, request a feature or provide other kind of feedback, please use SonarQube Community Forum. Please do not forget to specify the details of your request, code reproducer, versions of projects you use.

Contributing

1. Request a new feature

To request a new feature, create a new thread in SonarSource Community Forum. Even if you plan to implement it yourself and submit it back to the community, please create a thread 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-2023 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

About

SonarSource Static Analyzer for JavaScript and TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 54.8%
  • Java 28.3%
  • HTML 11.3%
  • JavaScript 5.1%
  • CSS 0.2%
  • SCSS 0.1%
  • Other 0.2%