using both of the below values in either/both of sonar-project.properties/CLI-parameters does not effectively tell the sonar scanner to stop scanning for YAML in files.
sonar.lang.patterns.yaml=
sonar.yaml.exclusions=**/*.yml,**/*.yaml
using both of the below values in either/both of sonar-project.properties/CLI-parameters does not effectively tell the sonar scanner to stop scanning for YAML in files.
sonar.lang.patterns.yaml=
sonar.yaml.exclusions=**/*.yml,**/*.yaml
Hi,
Welcome to the community!
This doesn’t exist.
Empty string is going to be ignored. You’re looking for an unset value, which doesn’t exist. Instead, you would use sonar.lang.patterns.yaml=foo.
That said, per the docs:
The analysis of YAML files is disabled by default. You can enable it by setting the
sonar.yaml.activateproperty totrue.
It looks like you explicitly turned on YAML analysis. So you should be able to just remove the configuration.
HTH,
Ann