SonarLint 插件在本地错过了一些(SonarCloud 的)规则
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论