CSSLint / csslint

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

Re: Disallow IDs in selectors #729

Open j9t opened 6 years ago

j9t commented 6 years ago

“Disallow IDs in selectors” outright bans a critical part of the CSS cascade. There’s nothing wrong with IDs (wrong use is not an argument, as everything can be used wrongly and should thus be banned in CSSLint—including CSS itself ;).

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.)