{"id":13406137,"url":"https://github.com/SonarSource/SonarJS","last_synced_at":"2025-03-14T10:32:26.943Z","repository":{"id":3294301,"uuid":"4335519","full_name":"SonarSource/SonarJS","owner":"SonarSource","description":"SonarSource Static Analyzer for JavaScript and TypeScript","archived":false,"fork":false,"pushed_at":"2024-12-20T04:23:08.000Z","size":71329,"stargazers_count":1062,"open_issues_count":6,"forks_count":182,"subscribers_count":52,"default_branch":"master","last_synced_at":"2024-12-20T09:33:50.460Z","etag":null,"topics":["code-quality","javascript","language-team","sonarcloud","sonarqube","static-analysis","static-analyzer","static-code-analysis","typescript"],"latest_commit_sha":null,"homepage":"https://community.sonarsource.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SonarSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-05-15T12:35:38.000Z","updated_at":"2024-12-20T04:22:08.000Z","dependencies_parsed_at":"2023-09-28T17:13:01.876Z","dependency_job_id":"c8f7a1a4-c6f7-4852-a406-08b829754661","html_url":"https://github.com/SonarSource/SonarJS","commit_stats":{"total_commits":4484,"total_committers":92,"mean_commits":48.73913043478261,"dds":0.798171275646744,"last_synced_commit":"ac71cb1a9e18dd9f78dc4c60ddb9f86eb4cdb6f1"},"previous_names":["sonarcommunity/sonar-javascript","sonarsource/sonar-javascript"],"tags_count":155,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2FSonarJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2FSonarJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2FSonarJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2FSonarJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SonarSource","download_url":"https://codeload.github.com/SonarSource/SonarJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374247,"owners_count":20280660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-quality","javascript","language-team","sonarcloud","sonarqube","static-analysis","static-analyzer","static-code-analysis","typescript"],"created_at":"2024-07-30T19:02:22.147Z","updated_at":"2025-03-14T10:32:26.935Z","avatar_url":"https://github.com/SonarSource.png","language":"TypeScript","readme":"[![Quality Gate](https://next.sonarqube.com/sonarqube/api/project_badges/measure?project=org.sonarsource.javascript%3Ajavascript\u0026metric=alert_status)](https://next.sonarqube.com/sonarqube/dashboard?id=org.sonarsource.javascript%3Ajavascript) [![Coverage](https://next.sonarqube.com/sonarqube/api/project_badges/measure?project=org.sonarsource.javascript%3Ajavascript\u0026metric=coverage)](https://next.sonarqube.com/sonarqube/component_measures/domain/Coverage?id=org.sonarsource.javascript%3Ajavascript)\n\nThis SonarSource project is a [static code analyzer](https://en.wikipedia.org/wiki/Static_program_analysis) for the JavaScript, TypeScript, and CSS languages to produce [Clean code](https://www.sonarsource.com/solutions/clean-code/).\n\n:arrow_right: [Have some feedback?](#support)\n\nThis repository now hosts [eslint-plugin-sonarjs](./packages/jsts/src/rules/README.md), our plugin for ESLint.\n\n# Features\n\n- Advanced rules based on pattern matching and control flow analysis\n- [407 JS rules](https://rules.sonarsource.com/javascript) and [413 TS rules](https://rules.sonarsource.com/typescript)\n- [26 CSS rules](https://rules.sonarsource.com/css)\n- Compatible with ECMAScript 2015-2020\n- React JSX, Flow, Vue, and AWS lambda functions support for JavaScript and TypeScript\n- CSS, SCSS, SASS, Less, also 'style' inside HTML and VueJS files\n- Metrics (complexity, number of lines, etc.)\n- Import of test coverage reports\n- Import of ESLint, TSLint, and Stylelint issues\n\n# Documentation\n\nYou can find [documentation here](https://docs.sonarqube.org/latest/analysis/languages/javascript/)\n\n# \u003ca name=\"support\"\u003e\u003c/a\u003eQuestions or feedback?\n\n### SonarSource Community Forum\n\nIf you want to report a bug, request a feature, or provide other kind of feedback, please use [SonarQube Community Forum](https://community.sonarsource.com/). Please do not forget to specify the details of your request, code reproducer, and versions of projects you use.\n\n# Contributing\n\n## Prerequisites\n\nTo work on this project, it is required to have the following tools installed:\n\n- [JDK 17](https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/what-is-corretto-17.html)\n- [Node.js](https://nodejs.org/en) \u003e= 22\n- [npm](https://www.npmjs.com/) \u003e= 8\n- [Maven](https://maven.apache.org/) \u003e= 3.8\n\n## How-to\n\n### 1. Request a new feature\n\nTo request a new feature, create a new thread in [SonarSource Community Forum](https://community.sonarsource.com/). 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.\n\n### 2. Pull Request\n\nTo submit a contribution, create a pull request for this repository. Please make sure that you follow our [code style](https://github.com/SonarSource/sonar-developer-toolset) and that all [tests](/docs/DEV.md#testing) are passing.\n\n## Work with us\n\nWould you like to work on this project full-time? We are hiring! Check out https://www.sonarsource.com/hiring\n\n## License\n\nCopyright 2011-2024 SonarSource.\n\nSonarQube analyzers released after November 29, 2024, including patch fixes for prior versions, are published under the [Sonar Source-Available License Version 1 (SSALv1)](LICENSE.txt).\n\nSee individual files for details that specify the license applicable to each file. Files subject to the SSALv1 will be noted in their headers.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSonarSource%2FSonarJS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSonarSource%2FSonarJS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSonarSource%2FSonarJS/lists"}