How to exclude single .js filw while sonar analysis

Hello All, I want to exclude one .js file. I am confused how to just ignore one file from sonar analysis. I have my code in src folder, I just want to ignore one .js file from src/common/fileName.js. Please find my sonar property file details below:

sonar.language=js
sonar.sources=src
sonar.exclusions=**/*.test.js

sonar.javascript.lcov.reportPaths=coverage/lcov.info

Hi,

Have you tried adding common/fileName.js to your exclusions list?

 
Ann