"Unknown Type Selector" rule for CSS and SCSS files

35 views
Skip to first unread message

ramdas.x.sivar...@nielsen.com

unread,
May 1, 2018, 2:39:21 PM5/1/18
to SonarQube
Hello,

This is regarding the "Unknown Type Selector" rule for CSS and SCSS files.  I have "md" prefix (Material Design) in my code and this has been flagged as a critical issue.

What is the best practice or element to use.  Thanks in advance.
example

Thanks
Ramdas S

G. Ann Campbell

unread,
May 1, 2018, 10:20:00 PM5/1/18
to SonarQube
Hi Ramdas,

I think what this issue is really telling you is that you forgot either the leading '#' (id) or '.' (class).


Ann
Reply all
Reply to author
Forward
0 new messages