Awesome
CSSLint
CSSLint is an open source CSS code quality tool originally written by Nicholas C. Zakas and Nicole Sullivan. It was released in June 2011 at the Velocity conference.
A lint tool performs static analysis of source code and flags patterns that might be errors or otherwise cause problems for the developer.
CSSLint is a tool to help point out problems with your CSS code. It does basic syntax checking as well as applying a set of rules to the code that look for problematic patterns or signs of inefficiency. The rules are all pluggable, so you can easily write your own or omit ones you don't want.
Integration
Command Line Interface
All about the command line interface for CSSLint. If you'd rather use a CLI program to verify your CSS instead of using the web site, then this guide is your best friend. https://github.com/CSSLint/csslint/wiki/Command-line-interface
Build System
Once you're familiar with the CSSLint command line interface, the next step is to integrate it into your build system. This guide walks through using CSSLint as part of your build. https://github.com/CSSLint/csslint/wiki/Build-System-Integration
IDE
You can integrate CSSLint into your favorite IDE to make checking your CSS code quality easy. In fact, some IDEs already have CSSLint built in. https://github.com/CSSLint/csslint/wiki/IDE-integration
Rules
Not sure why a rule is important? This guide talks about each of the CSSLint rules and explains how the rule is designed to improve your CSS. https://github.com/CSSLint/csslint/wiki/Rules
Developer Guide
If you want to contribute to the project, or even just tinker on your own, this guide explains how to get the source and work with it. https://github.com/CSSLint/csslint/wiki/Developer-Guide
Contributors
- Samori Gorse, https://twitter.com/shinuza (Rules, Non-zero Exit Code for CLI)
- Eitan Konigsburg, https://twitter.com/eitanmk (Rhino CLI)
- Ben Barber (Compatible Vendor Prefix Rule)
- Eric Wendelin, http://eriwen.com (Output formatters)
- Kasper Garnaes, http://reload.dk (Checkstyle XML format)
- Gord Tanner, http://www.tinyhippos.com (CLI quiet option)
- Hans-Peter Buniat, https://github.com/hpbuniat (Duplicate background image rule)
- Dino Chiesa, https://github.com/DinoChiesa (Windows Script Host CLI)
- Tomasz Oponowicz, https://github.com/tomasz-oponowicz (XML format and CLI fixes)
- Julien Kernec'h, https://github.com/parallel (Fixed a rule)
- Cillian de Róiste, https://plus.google.com/116480676247600483573/posts (Node CLI fixes)
- Damien Sennm, https://github.com/topaxi (README fixes)
- Jonathan Barnett, http://twitter.com/indieisaconcept (JUnit formatter)
- Zach Leatherman, http://www.zachleat.com/ (bug fixes)
- Philip Walton, http://philipwalton.com (Rules fixes, bug fixes)
- Jeff Beck, http://www.jeffbeck.info (Rules fixes, bug fixes)
- Jay Merrifield, https://github.com/fracmak (Rules fixes)
- Michael Mattiacci, http://mattiacci.com (Rules fixes)
- Jonathan Klein, http://www.jonathanklein.net (Bulletproof font-face rule)
- Shannon Moeller, http://shannonmoeller.com (Embedded rulesets)
- Nick Schonning, https://github.com/nschonni (Contributing.md, grunt build)
- Jared Wyles, https://github.com/jaredwy (Managing pull requests, endless advice)
- Scott Gonzalez, https://github.com/scottgonzalez (JSON config)