CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.77k stars 483 forks source link

Dynamic classes are not overqualified #612

Closed ovanderzee closed 9 years ago

ovanderzee commented 9 years ago

Frameworks like angular-js create dynamic classes like ng-hide that might require styling other than the styles from the frameworks stylesheet. Since the framework style sheet is not linted the combination ".ng-hide {...} a.ng-hide {...}" is not excluded from a warning.

This request will prevent unsound recommendations like: "WARNING: Element (li.ng-leave) is overqualified, just use .ng-leave without element name...".

ovanderzee commented 9 years ago

Closed because the branch was not clean. See pull request 613