Properties exclusions string gets too long

  • I’m using SonarQube.
  • Adding a bunch of directories to the exclusions property makes for a very long string.
  • I tried searching for another format, but it seems to be the only one (comma separated directory or glob entries).

Comma separated list produces bad diffs, and the string is getting too long in our project. What I’d like to see is a syntax similar to yaml lists.

Another solution would be to allow per directory properties files instead of only per project. So that big projects (monorepos) could have more granular settings.

Hi,

Welcome to the community!

Try setting this through the UI instead. It will handle the length for you by breaking up the string into multiple inputs.

 
Ann