Skip to content
nzakas edited this page May 14, 2012 · 11 revisions

Parsing errors should be fixed

The most important rule, as far as CSS Lint is concerned, is to ensure there are no parsing errors in the CSS. Parsing errors usually mean you mistyped a character and caused the code to become invalid CSS. These errors may cause the browser to drop a property or an entire rule. Parsing errors are always presented as errors by CSSLint, the most important issues to fix.

Possible Errors

The following rules point out potential errors in your CSS.

Compatibility

The following rules flag for compatibility problems across browsers and browser settings.

Performance

The following rules are aimed at improving CSS performance, including runtime performance and overall code size.

Maintainability & Duplication

These rules help to ensure your code is readable and maintainable by others.

Accessibility

These rules are designed to pick out possible accessibility issues.

OOCSS

These rules are based on the principles of OOCSS.

Clone this wiki locally