csslint

csslint

TLDR

Lint a single CSS file

>_ csslint [file.css]
copy

Lint multiple CSS files

>_ csslint [file1.css] [file2.css] [file3.css]
copy

List all possible style rules

>_ csslint --list-rules
copy

Specify certain rules as errors (which result in a non-zero exit code)

>_ csslint --errors=[errors,universal-selector,imports] [file.css]
copy

Specify certain rules as warnings

>_ csslint --warnings=[box-sizing,selector-max,floats] [file.css]
copy

Specify certain rules to completely ignore

>_ csslint --ignore=[ids,rules-count,shorthand] [file.css]
copy

Copied to clipboard
free 100$ digital ocean credit