gulp-stylelint-console-reporter
v0.1.1
Published
gulp-stylelint reporter to display stylelint results in console
Downloads
136
Maintainers
Readme
gulp-stylelint-console-reporter
A gulp-stylelint reporter to display stylelint results in console.
Installation
npm install gulp-stylelint-console-reporter --save-dev
Quick start
import gulpStylelint from 'gulp-stylelint';
import consoleReporter from 'gulp-stylelint-console-reporter';
gulp.task('lint-css', function lintCssTask() {
return gulp
.src('src/**/*.css')
.pipe(gulpStylelint({
reporters: [
consoleReporter()
]
}));
});
Note that if you're using ES5, you will have to access the library via the default
property due to the way exports are handled in Babel 6:
var consoleReporter = require('gulp-stylelint-console-reporter').default;
License
http://opensource.org/licenses/mit-license.html