You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a warning that CSS and JS sniffing will be removed in version 4. That's quite a while away (no date set), but it would be worth thinking about switching to a different CSS linter when you get a chance.
gsherwood
changed the title
Squiz.CSS.DuplicateClassDefinitionSniff and comments
Squiz.CSS.DuplicateClassDefinitionSniff sees comments as part of the class name
Oct 30, 2019
This sniff threw false-positives in my code. After #985 was fixed, they disappeared. After the fix of #1657 they rose again.
The difference between my code and the same in #1657 is, that I have the comments before the class name:
/* any comment */ .foo { color: red; }
The text was updated successfully, but these errors were encountered: