Lint CSS coding style with CSScomb.
Install via npm:
npm i --save-dev gulp-csscomb-lint
var gulp = require('gulp');
var csscombLint = require('gulp-csscomb-lint');
gulp.task('lint', function() {
return gulp.src(['/css/*.css'])
.pipe(csscombLint());
});
If there is .csscomb.json
file present in the same folder as the source file(s),
or in the project root folder, gulp-csscomb-lint
will read config settings from it
instead of default config.
You can also specify a pre-defined configuration. Ex.: csscomb('zen')
MIT (c) 2014 Vladimir Starkov.