Must-share information (formatted with Markdown):
- which versions are you using (SonarQube: 8.1, Scanner: sonar-scanner 3.1.0)
- what are you trying to achieve - Pass a .properties file to the npm run sonar command if there is no properties file in the current project root location
- what have you tried so far to achieve this - I’ve executed sonar scans from root directory, but not using npm. Specifying another file location as a maven parameter works fine.
I see no documentation on the topic how to pass an optional properties file parameter tonpm run sonar
. If there’s none, it might be a good idea adding this functionality.