Add CSS linting to your Broccoli tree.
npm i broccoli-csslint
var cssLint = require('broccoli-csslint');
var tree = cssLint(someTree);
For linting options refer to the official CSSLint documentation.
Additionally this plugin provides the ability to define exclude-list in the .csslintrc file.
npm i && npm t
MIT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- gulp-csslint: Used as a reference for CSSLint.
- broccoli-jshint: Adapted this plugin's code for csslinting.
Crafted with <3 by John Otander (@4lpine).