How to suppress Sonar qube rules in CSS & HTML

we are using sonarQube Community version 7.9.1
We want to supress two roles at some palces
CSS - Pseudo-element selectors should be valid & Selectors should be known
HTML - Files should not have too many lines of code

I don’t think you can deactivate a rule from a built-in profile.

What you can do is create a new profile with the built-in rules from CSS and HTML, and then deactivate the rules in that custom profile as stated in the profiles section of SonarQube :

image