Hello Jean-Baptiste
It looks like these parameters breaks SonarLint.
I get this with them
[Debug - 08:06:13.046] Execute Sensor: TextAndSecretsSensor
[Info - 08:06:13.046] Available processors: 20
[Info - 08:06:13.046] Using 20 threads for analysis.
[Info - 08:06:13.346] The property "sonar.tests" is not set. To improve the analysis accuracy, we categorize a file as a test file if any of the following is true:
* The filename starts with "test"
* The filename contains "test." or "tests."
* Any directory in the file path is named: "doc", "docs", "test" or "tests"
* Any directory in the file path has a name ending in "test" or "tests"
[Info - 08:06:13.385] Analyzing all except non binary files
[Info - 08:06:13.400] 1 source file to be analyzed
[Info - 08:06:13.470] 1/1 source file has been analyzed
[Info - 08:06:13.476] Analysis detected 0 issues and 0 Security Hotspots in 5203ms
And this without
[Info - 08:16:58.591] Analyzing all except non binary files
[Info - 08:16:58.608] 1 source file to be analyzed
[Info - 08:16:58.683] 1/1 source file has been analyzed
[Info - 08:16:58.689] Analysis detected 2 issues and 0 Security Hotspots in 5543ms
[Debug - 08:16:58.699] Skip downloading file issues on SonarQube
[Debug - 08:16:58.704] Skip downloading file hotspots on SonarQube 10.1+
EDIT :
After some investigation, It looks like the parameter "sonar.cobol.copy.directories"
breaks everything.
We have our copies and cobol programs in the same folder, they just get a different file extension
Is it because SonarLint doesn’t analyze copy directories ?
EDIT 2 :
It works !
"sonarlint.analyzerProperties": {
"sonar.cobol.file.suffixes": "pco,cob,cbl",
"sonar.cobol.copy.suffixes": "cob,cpy",
"sonar.cobol.copy.directories": "exp/"
}