MDL-48277 css: enable some helpful csslint warnings
authorDan Poltawski <dan@moodle.com>
Tue, 18 Nov 2014 22:01:49 +0000 (22:01 +0000)
committerDan Poltawski <dan@moodle.com>
Tue, 18 Nov 2014 22:11:36 +0000 (22:11 +0000)
commit1e717e84e734f726fb93b993d275eb697ff8102a
treeafc8f50f515b3470e1acee559535fa2566de0f37
parent03e93abad8dad55818731a16538c72233a2d5218
MDL-48277 css: enable some helpful csslint warnings

Note that these rules cause a resonable amount of warnings when run
across the codebase but should be useful in the development of new css.

* known-properties can find typos in properties used
  https://github.com/CSSLint/csslint/wiki/Require-use-of-known-properties
* display-property-grouping can discover situations where rules are used
  in invalid combinations
  https://github.com/CSSLint/csslint/wiki/Require-properties-appropriate-for-display
* empty-rules finds situations where empty rules are defined
  https://github.com/CSSLint/csslint/wiki/Disallow-empty-rules
* important warnings when !important is used (generally bad for themers)
  https://github.com/CSSLint/csslint/wiki/Disallow-!important
.csslintrc