jmecosta/sonar-fsharp-plugin

Settings in generated `fs-analysis-input.xml` is always empty

milbrandt opened this issue · 3 comments

see method appendSettings in FSharpSensor.java

@jmecosta Do you remember if this section was formerly used? Or is it a leftover from the starting when copying from another analyzer?

seems like it is coming from https://github.com/SonarSource/sonar-dotnet/blob/master/sonaranalyzer-dotnet/src/SonarAnalyzer.Common/Rules/Utilities/UtilityAnalyzerBase.cs

The key sonar.cs.ignoreHeaderComments in the XmlHelper.fs is a setting in SonarQube admin UI for C# language scanner.

Thanks, we'll have to see if any value will be configurable globally, like numIndentationSpaces or IgnoreFiles - or even allow users to define additional hint rules

the optimal would be to have all rule configuration defined in the profiles! but its a bit hard to get this synchronized from both sides! anyway if that materializes then its all added bonus