[英]How to add JSHint or ESLint or TSLint to Sonar qube?
List of available plugins is here . 可用插件列表在这里 。
You can use a JavaScript Plugin to check JavaScript code. 您可以使用JavaScript插件来检查JavaScript代码。
You can also create your own plugin which execute JSHint, ESLint or TSLint. 您也可以创建自己的插件来执行JSHint,ESLint或TSLint。
Check this out: https://github.com/groupe-sii/sonar-web-frontend-plugin 检查一下: https : //github.com/groupe-sii/sonar-web-frontend-plugin
Plugin for Sonarqube for the Web world with various technologies and languages (JavaScript, CSS, SASS, HTML, AngularJS...). 适用于Web世界的Sonarqube插件,具有各种技术和语言(JavaScript,CSS,SASS,HTML,AngularJS ...)。 This plugin consumes reports generated by tools that are heavily used by the Web community: 此插件使用由Web社区大量使用的工具生成的报告:
Linters: 棉短绒:
JSHint JSHint
CSS Lint CSS皮棉
SCSS Lint SCSS皮棉
HTMLHint HTMLHint
Angular Hint 角度提示
ESLint plugin for AngularJS AngularJS的ESLint插件Unit testing 单元测试
Jasmine 茉莉花Code coverage: 代码覆盖率:
Istanbul 伊斯坦布尔Code duplication 代码重复
Simian 类人猿
CPD CPDCode complexity 代码复杂度
Plato 柏拉图
Seems promising... :) 似乎很有希望... :)
I have built a SonarPlugin for EsLint that supports AngularJs available on https://github.com/sleroy/SonarEsLintPlugin 我已经为EsLint构建了一个SonarPlugin,它支持AngularJs, 网址为https://github.com/sleroy/SonarEsLintPlugin
I don't think SonarQube will allow it on the Marketplace therefore you will have to install it manually. 我认为SonarQube不会在市场上允许它,因此您必须手动安装。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.