.sonarcloud.properties does not appear to be working

I added the following to my .sonarcloud.properties file…

sonar.javascript.globals=cy,Cypress

But after the run I still see the following…

So why is it still not ignoring this global var?

Hey there.

Only specific properties are taken into account by the .sonarcloud.properties file. They are listed here.

To set these for your SonarCloud project, you’ll need to set them through the UI at your project-level Administration > Languages > JavaScript / TypeScript > Global variables. They will be taken into account at your next analysis.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.