Open j9t opened 6 years ago
“Disallow !important” outright bans a critical part of the CSS cascade; there’s nothing wrong with !important—just because the occasional developer struggles putting !important to good use seems to be a weak argument for getting it banned. (I’m aware that our industry frowns upon !important but that doesn’t make the rule any stronger :)
!important
From what I can tell, dropping this rule would be an improvement to CSSLint.
(Pardon the batch filing of requests and if I missed something else relevant for this rule.)
“Disallow
!important
” outright bans a critical part of the CSS cascade; there’s nothing wrong with!important
—just because the occasional developer struggles putting!important
to good use seems to be a weak argument for getting it banned. (I’m aware that our industry frowns upon!important
but that doesn’t make the rule any stronger :)From what I can tell, dropping this rule would be an improvement to CSSLint.
(Pardon the batch filing of requests and if I missed something else relevant for this rule.)