Home Check Your Code with CSS Lint

Check Your Code with CSS Lint

CSS Lint is a tool for checking your CSS code. Like JSHint and JSLint (see our previous coverage).

CSS Lint was created by Nicole Sullivan and Nicholas C. Zakas. Based on the conversations thus far is bound to become as infamous as JSLint. However, since CSS Lint is open source, if you don’t like the rules, you can host your own version and change the rules.

Many of the seemingly strange rules (such as “IDs shouldn’t be used in selectors”) stem from object oriented CSS, a paradigm promoted by Sullivan.

Here’s a video by Sullivan on the subject:

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.