CSSLint/csslint

Suppress CSSLint Warnings

Opened this issue · 1 comments

I love using CSSLint with Sublime Text but some warnings I need to ignore using comments. I've learned how to ignore several, e.g.:

Example 1
Warning - Element (img.logo) is overqualified, just use .logo without element name. (overqualified-elements)
img.logo {} /* csslint allow: overqualified-elements */

Example 2
Warning - Use of !important (important)
.foo { text-align: center !important; } /* csslint allow: known-properties, important */

However, how can I ignore the following two warnings?

Warning - Too many !important declarations (16), try to use less than 10. (important)

Warning - Using height with border can sometimes make elements larger than you expect. (box-model)

How can I ignore "Warning - Use of !important (important)" in the entire script?

Hi @JoeGutierrez, I have the same issue, you have any solution for your issue?