SonarLint Javascript自定义规则:未安装分析器:未扫描js文件

时间:2016-09-20 14:30:05

标签: javascript sonarqube sonar-runner sonarqube-scan sonarlint

我正在尝试为javascript创建自定义规则包 我已按照https://github.com/SonarSource/sonar-examples/tree/master/plugins/javascript-custom-rules中定义的相同结构创建了自定义规则。

此处报告中未扫描任何js文件且未安装任何分析器。 请指出我错过了什么

。在pom.xml中,sonar-packaging-maven-plugin更改< pluginKey> javascript< / pluginKey>并删除< basePlugin> javascript< / basePlugin>。

将生成的jar复制到sonarlint命令行工具中的plugins目录。 运行sonarlint.bat文件。

SELECT * FROM (SELECT Top 2 'Set1', Order_No, format(Order_Date,'g'), First_Name
FROM        db1.dbo.Orders ORDER BY <Set 1 TOP Definition Criteria) t (Setname,Order_No,Order_Date,First_Name)
Union all
SELECT * FROM (SELECT Top 2 'Set2', Order_No, format(Order_Date,'g'), First_Name
FROM        db2.dbo.Orders ORDER BY <Set 2 TOP Definition Criteria) t (Setname,Order_No,Order_Date,First_Name)
Union all
SELECT * FROM (SELECT Top 2 'Set3', Order_No, format(Order_Date,'g'), First_Name 
FROM        db3.dbo.Orders ORDER BY <Set 3 TOP Definition Criteria) t (Setname,Order_No,Order_Date,First_Name)

ORDER BY    <Result set sorting criteria>

0 个答案:

没有答案