A CSSLint module for Mimosa
npm install mimosa-csslintmimosa-csslint
===========
This is CSS linting module for Mimosa. It will use rules to test your CSS to ensure it is idiomatic.
* For more information regarding Mimosa, see http://mimosa.io
* For more info about csslint, check out http://www.csslint.net/
Add 'csslint' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.
When mimosa watch or mimosa build are executed this module will run csslint over your project's CSS files. This includes both regular .css as well as the output of pre-processors like SASS or LESS. csslint can be run on vendor files, but that is by default turned off.
``javascript`
csslint: {
exclude:[],
compiled: true,
copied: true,
vendor: false,
rules: {}
}
#### csslint.exclude array of string/regexwatch.compiledDir
Files to exclude from linting. This setting is an array and can be comprised of strings or regexes. Strings are paths that can be relative to the or absolute. String paths must include the file name.
#### csslint.compiled booleantrue
When this property is set to , compiled CSS (i.e. sass, less, stylus) will be csslinted.
#### csslint.copied booleantrue
When this property is set to , copied CSS will be csslinted.
#### csslint.vendor booleantrue
When this property is set to , vendor CSS will be csslinted.
#### csslint.rules` object
Add csslint overrides as key/value pairs underneath this property.