CSSLint¶
CSSLint is an open source CSS code quality tool originally written by Nicholas C. Zakas and Nicole Sullivan. It is a tool to help point out problems with your CSS code.
http://csslint.net/
Enabling CSSLint¶
If you have a .csslintrc
file in your repository, you can configure CSSLint by adding the following lines to your configuration:
build:
nodes:
analysis:
tests:
override:
- csslint-run [file|dir]
csslint-run
is a built-in wrapper for CSSLint which takes care of results and output format,
however all the options of CSSLint are supported as well. For example:
csslint-run --config=<config>