Hello,
I’ve configured SonarLint plugin in VSCode
However I do not see anything in “Problems” tab
“Output” does show Logs, but it always says “Found 0 issues” even if I’ve configured a rule for HTML files “to track copyright headers”
Could you please help to resolve this?
Following are the details:
VSCode version = 1.59.1
Sonarlint version = 2.1.2
"sonarlint.rules": {
"Web:HeaderCheck": {
"level": "on",
"ruleParameters": {
"headerFormat": "-CONFIDENTIAL-\nType: Source Code\n\nCopyright \\([cC]\\) 20[0-9]{2}, 20[0-9]{2},",
"isRegularExpression": true
}
}
},
"sonarlint.output.showVerboseLogs": true,
"sonarlint.output.showAnalyzerLogs": true,
"sonarlint.testFilePattern": "{**/src/**}",
"sonarlint.pathToNodeExecutable": "C:\\\\Program Files\\\\nodejs\\\\node.exe",
"sonarlint.ls.javaHome": "C:\\\\Program Files\\\\Java\\\\jdk1.8.0_301"