csslint
csslint copied to clipboard
Automated linting of Cascading Stylesheets
Today I was surprised to discover that there was no [bower](http://bower.io/) package for csslint. I wanted to use csslint on the client in one of my apps, and it would...
Actually, only ".csslintrc" is supported. However, ".csslintrc" is actually a json-object. So please also provide **".csslintrc.json"**. Then I have syntax highlighting/formatting/commenting with IDE which is actually not supportet with the...
`csslint ./ --format=text --errors=floats` command generates a warning > 1: warning > Too many floats (19), you're probably using them for layout. Consider using a grid system instead." I would...
The following style: h1, h2 {font-face: Verdana;} h1 {font-size: 2.1em;} h2 {font-size: 1.8em;} does prompt a warning due to the recommendation that one should only define H elements only once...
I haven't written any tests in case you are not interested in this. The use case is to provide formatters over npm, instead of maintaining them within CSSLint core. Usage:...
I can't order-alphabetical this type of properties : .border_radius { -moz-border-radius-bottomleft: 0 !important; -webkit-border-bottom-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
JSON formatter for CSSLint results
@stubbornella #333 This is a new rule for counting properties and pair-values in the CSS. It export and object. usage : ``` javascript var result = CSSLint.verify(".foo { float: left;...
This is an extension to work already carried out by hpbuniat. https://github.com/stubbornella/csslint/issues/116 However the rule he submitted did not work correctly and threw parser errors when there was a null...
was: wrong shorthand font syntax should return an error Rules like these: ``` .selector { font: 2em; } .selector { font: bold 2em; } ``` Should return an error as...