In the README.md in the paragraph, which is about preventing the plugin from overriding the existing linter rules, it is recommended to set this to true:
The plugin uses its own analysis options file. If analysis_options.yaml file already exists under the project root, it will be saved during the analysis and then restored to its initial state.
To disable this behavior and use the existinganalysis_options.yaml file instead, add the following line to sonar-project.properties file :
# Use existing options to perform the dart analyzer analysis
sonar.dart.analyzer.options.override=true
In the
README.md
in the paragraph, which is about preventing the plugin from overriding the existing linter rules, it is recommended to set this totrue
:However, the description of the available options states:
So do I need to set it to
true
orfalse
if I want my own existing file to be used?Does replace indicate whether the existing is replaced by an empty file? Or the other way around? I am confused when I read this!
Also, it says that the default value is
true
so the part where it says that setting it totrue
changes some behavior is confusing as well.