Search code examples
csssonarqubeangular7sonarqube-scan

Ignore Sonar CSS rule


I am running Sonarqube scan on my angular 7 application and i see that Sonar report is complaining "Unexpected unknown pseudo-element selector "::ng-deep"", does any one know how to mark this rule as ignore or remove this rule.

I tried using //NOSONAR , but no luck.


Solution

  • Create a new quality profile and add rules you want and apply on the project. or exclude that rule from current applied quality profile