broccoli-csslint
v2.0.0
Published
Add CSS linting to your Broccoli tree.
Downloads
209
Maintainers
Readme
broccoli-csslint
Add CSS linting to your Broccoli tree.
Installation
npm i broccoli-csslint
Usage
var cssLint = require('broccoli-csslint');
var tree = cssLint(someTree);
For linting options refer to the official CSSLint documentation.
Excluding files
Additionally this plugin provides the ability to define exclude-list in the .csslintrc file.
Development
npm i && npm t
License
MIT
Contributing
- 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
Thanks to the following
- gulp-csslint: Used as a reference for CSSLint.
- broccoli-jshint: Adapted this plugin's code for csslinting.
Crafted with <3 by John Otander (@4lpine).