GitRead 中文社区
首页趋势排行榜原创文章严选周刊
更多资源
新手训练营
精选专题热门话题GitHub 文档资源精选实战指南

SonarJS

SonarSource Static Analyzer for JavaScript and TypeScript

  • 语言TypeScript
  • 默认分支master
  • 大小72.3 MB
  • 更新18 小时前
  • Issues23
在 GitHub 打开
avatarSonarSource

项目介绍

SonarSource/SonarJS 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 Other 许可证,目前获得 1.3k 个 Star、197 次 Fork。

仓库全名
SonarSource/SonarJS

README 摘要

SonarJS SonarJS inspects JavaScript, TypeScript, and CSS for bugs, vulnerabilities, and maintainability issues. Findings appear in SonarQube for IDE and in project analysis on SonarQube Server or SonarQube Cloud. SonarJS analyzes developer-written and AI-generated code, giving teams a consistent way to verify changes before they reach production. :arrowright: Have some feedback? This repository now hosts…

完整内容见 GitHub 原始 README 或本页 。

常见问题

SonarJS 用什么语言开发?

主要使用 TypeScript 编写,采用 Other 许可证,目前有 1.3k 个 Star。

SonarJS 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 SonarJS 的源码?

可以直接克隆仓库:git clone https://github.com/SonarSource/SonarJS.git,默认分支为 master;安装与运行步骤见仓库 README。

SonarJS 最近还在维护吗?

仓库最近一次更新为 18 小时前,当前有 23 个未关闭 Issue;Star 数为 1.3k,可作为社区活跃度的参考。

本页面展示项目元数据与原始 README,GitRead 中文社区 编辑团队负责选题收录。

相关仓库

morluto/rea avatar
reamorluto
2 小时前
462.5k
113.3k
1.5k

借助智能体逆向分析任何内容,从应用行为直至原生二进制文件。

agent-skillsaiandroid+17
TypeScript
172.9 MB
0
详情
freeCodeCamp/freeCodeCamp avatar
freeCodeCampfreeCodeCamp
1 天前
459.2k
46.8k
86

freeCodeCamp.org 的开源代码库和课程体系。免费学习数学、编程和计算机科学。

learn-to-codenonprofitsprogramming+7
TypeScript
571.2 MB
9
详情
openclaw/openclaw avatar
openclawopenclaw
2 小时前
394.5k
82.9k
8.3k

真正做实事的 AI。任何 OS。任何平台。龙虾之道。🦞

aiassistantcrustacean+4
TypeScript
14.6 GB
18
详情
nilbuild/developer-roadmap avatar
developer-roadmapnilbuild
10 小时前
372.1k
46.4k
0

交互式路线图、指南及其他教育内容,帮助开发者在职业生涯中成长。

computer-scienceroadmapdeveloper-roadmap+7
TypeScript
356.3 MB
2
详情
deepseek-ai/deepseek-harness avatar
deepseek-harnessdeepseek-ai
3 天前
281.9k
34.9k
0

DeepSeek Harness:一切皆插件。

ai-agentscordisdsh+1
TypeScript
380.6 MB
3
详情
anomalyco/opencode avatar
opencodeanomalyco
2 小时前
227.1k
30.8k
4.0k

开源编码代理。

TypeScript
713.8 MB
0
详情
vuejs/vue avatar
vuevuejs
2024年10月10日
212.5k
34.4k
645

这是 Vue 2 的仓库。如需 Vue 3,请前往 https://github.com/vuejs/core

frameworkfrontendjavascript+1
TypeScript
31.4 MB
0
详情
n8n-io/n8n avatar
n8nn8n-io
3 小时前
210.6k
61.5k
1.2k

具备原生 AI 能力的公平代码工作流自动化平台。将可视化构建与自定义代码相结合,支持自托管或云端部署,提供 400+ 种集成。

automationipaasn8n+7
TypeScript
801.9 MB
3
详情

关于

code-qualityjavascriptlanguage-teamsonarcloudsonarqubestatic-analysisstatic-analyzerstatic-code-analysistypescript
  • Other
  • 1.3k Stars
  • 197 Forks
  • 50 Watching

简要分析

热度分
1753
价值分
848
活跃状态
活跃
GitHub

语言占比

CSS
HTML
Java
JavaScript
Less
PHP
SCSS
Sass
Shell
Svelte
TypeScript
Vue

Release

  • 14.4.0.464581 周前
  • 14.3.0.463503 周前
  • 11.8.2.463623 周前
  • 10.26.1.463603 周前
  • 14.2.0.463093 周前

贡献者

renovate[bot]renovate[bot]vilchik-elenavilchik-elenalindamartinlindamartinyassin-kammoun-sonarsourceyassin-kammoun-sonarsourcesaberducksaberduckvdiezvdiezzgliczzgliczGodinGodinvilchikelenavilchikelenailia-kebets-sonarsourceilia-kebets-sonarsourcepynicolaspynicolassonar-nigel[bot]sonar-nigel[bot]

Sonar logo

Quality Gate Coverage GitHub stars License Community forum

SonarJS

SonarJS inspects JavaScript, TypeScript, and CSS for bugs, vulnerabilities, and maintainability issues. Findings appear in SonarQube for IDE and in project analysis on SonarQube Server or SonarQube Cloud.

SonarJS analyzes developer-written and AI-generated code, giving teams a consistent way to verify changes before they reach production.

:arrow_right: Have some feedback?

This repository now hosts eslint-plugin-sonarjs, our plugin for ESLint.

Learn more about the SonarQube product family.

Features

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

Use SonarJS

SonarJS is used through SonarQube Server, SonarQube Cloud, and SonarQube for IDE. For JavaScript and TypeScript feedback in ESLint, see the eslint-plugin-sonarjs package.

Documentation

You can find documentation here

Questions 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, and versions of projects you use.

Contributing

Prerequisites

To work on this project, it is required to have the following tools installed:

  • JDK 21
  • Node.js >= 22
  • npm >= 8
  • Maven >= 3.8

How-to

Build the project

Install Node.js dependencies with npm ci first.

For normal local development, build with the tracked rule metadata already present in the checkout:

npm ci
mvn install

To refresh RSPEC rule data before a clean rebuild, run:

npm run rspec:refresh
mvn clean install

package.json intentionally keeps only Node-oriented workflows plus the explicit rspec:refresh entrypoint. Maven builds are meant to be invoked directly.

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.

Create a Pull Request

To submit a contribution, create a pull request for this repository. Please make sure that you follow our code style and that 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-2024 SonarSource.

SonarQube analyzers released after November 29, 2024, including patch fixes for prior versions, are published under the Sonar Source-Available License Version 1 (SSALv1).

See individual files for details that specify the license applicable to each file. Files subject to the SSALv1 will be noted in their headers.

评论

登录 后发表评论
暂无评论
GitRead 中文社区
深度解读 · 趋势洞察 · 价值精选

关于

关于我们联系我们编辑准则收录标准赞赏人员

发现

技术趋势新手训练营资源精选实战指南精选专题热门话题GitHub 文档

条款

隐私政策服务条款网站地图
26.9万收录项目
7.7万中文话题
157精选专题
发现技术价值,连接开源智慧
© 2026 GitRead · GitHub 中文社区 本站与 GitHub, Inc. 无隶属关系;GitHub 是 GitHub, Inc. 的商标。