CSSLint / csslint

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

Suppress Browser Hacks #656

Closed bingalls closed 8 years ago

bingalls commented 8 years ago

As a user, I'd like clean reports on my best-effort CSS, even if it requires hacks to detect browsers & versions. Please include an option to suppress warnings for known hacks, as defined by http://browserhacks.com/ Otherwise, you should document alternative solutions to make these hacks unnecessary.

frvge commented 8 years ago

Hi @bingalls , you can ignore rules per line. https://github.com/CSSLint/csslint/wiki/Ignoring-parts-of-CSS-during-linting . You should also be able to select the testcases that you'd like to run, as per the website.

For the ignoring, you need to have use the version that's in master.

nschonni commented 8 years ago

Closing since the latest release includes this