gulp-stylelint-checkstyle-reporter
0.2.0 • Public • Published gulp-stylelint-checkstyle-reporter
![Join the chat at https://gitter.im/olegskl/gulp-stylelint](https://badges.gitter.im/olegskl/gulp-stylelint.svg)
A gulp-stylelint reporter to display stylelint results in checkstyle.
Installation
npm install gulp-stylelint-checkstyle-reporter --save-dev
Quick start
import gulpStylelint from 'gulp-stylelint';
import checkstyleReporter from 'gulp-stylelint-checkstyle-reporter';
gulp.task('lint-css', function lintCssTask() {
return gulp
.src('src/**/*.css')
.pipe(gulpStylelint({
reporters: [
checkstyleReporter({output: 'reports/css-lint-checkstyle.xml'})
]
}));
});
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 checkstyleReporter = require('gulp-stylelint-checkstyle-reporter').default;
License
MIT License
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.2.0
2
Version History
Package Sidebar
Install
npm i gulp-stylelint-checkstyle-reporter
Weekly Downloads