While analyzing my Angular 7 project with SonarQube's CSS analyzer, I noticed that all references to material2 elements in my SCSS are being flagged as critical bugs.
One example of this is:
Unexpected unknown type selector "mat-form-field"
I am wondering how I can add exceptions for selectors with the "mat-" prefix using the sonar-project.properties file.
I have attempted various approaches based on information found here, but so far I have not been successful in implementing it within a properties file.
My desired configuration would look something like this:
sonar.css.selector-type-no-unknown.ignoreTypes=["/^mat-/"]