SonarLint 插件在本地错过了一些(SonarCloud 的)规则

发布于 2025-01-10 08:25:01 字数 394 浏览 5 评论 0原文

TL;DR ->强制代码异味在IDE上显示为SonarCloud问题

我在本地安装了SonarLint插件(vscode)并配置了外部SonarCloud 规则(由我组织的项目制定)。 问题是,尽管配置良好,但有些问题在我的 IDE 上无法算作本地实际问题,而仅出现在网上(例如 github 集成)。

我还没有意识到这些棘手的声纳云问题之间的共同点,可能是代码异味。

我已经看到了一些关于此事的 StackOverflow 问题,但尚未遇到明确建议解决方法或按照我的意愿配置它的方法的答案。

有人曾经设法解决过吗?

TL;DR -> Force code smells to apear as SonarCloud issues on IDE

I got SonarLint plugin (vscode) installed locally and configured with external SonarCloud rules (by my organization's project).
The thing is even though it is well configured, some issues fail to count as an acttual issue locally on my IDE and only apears online (e.g. github integration).

I have not yet realized what is common between those slippery sonarcloud issues, might be code smells.

I have seen some StackOverflow questions regarding that matter, but have not yet encountered an answer which explicitly suggests a workaround or a method to configure it as I wish.

Did anyone ever manage to work it out?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文