Style check: CSS Lint released
CSS Lint, an open source tool for checking CSS stylesheets for correctness, has gone online. The tool, which says it "will hurt your feelings (and help you code better)", does basic syntax checking and then applies a set of rules to the code to spot patterns that may be problematic or inefficient.
Rules are pluggable, so the checking can be customised to whatever a developer considers appropriate. Typical rules include that the CSS should parse correctly, there should be no empty rules, adjoining classes should not be used, don't over-use floats or too many web fonts, and vendor prefixed properties should be accompanied by standard versions of those properties. The full list of current rules is available on the csslint.net site. An interface to allow the rules to be selected at run time is also in development.