I've been looking for hours how to disable sonarcloud checking on duplicate lines/blocks in my sonar-project.properties
file, and I still can't make it, it's driving me crazy.
I've tried
sonar.cpd.exclusions=**/*.js
sonar.cpd.exclusions=**/*
But it's not working.
How to achieve this simple task ?
Thanks a lot for your help !
On Sonarqube server, It is written in General Settings > Analysis Scope that
since you need to exclude all files in the project from duplication detection, I think the below pattern will do the job
sonar.cpd.exclusions=**/**