gulp-stylelint-checkstyle
A Gulp plugin that generates a checkstyle report from stylelint results.
Deprecated
Use gulp-stylelint with gulp-stylelint-checkstyle-reporter instead.
Installation
npm install gulp-stylelint-checkstyle --save-dev
Quick start
With gulp-stylelint-checkstyle, it's easy to start generate a CSS lint report for Jenkins checkstyle plugin.
If you already have a .stylelintrc file in your project directory:
gulp;
Options
Below is an example with all available options provided:
gulp;
stylelint
(Object)
See stylelint configuration options.
output
(String) default: "./checkstyle.xml"
Relative or absolute path to the report output file, e.g. "reports/lint/lint-css.xml"
reportToConsole
(Boolean) default: false
Setting this option to true
will report all issues to the console as well (the checkstyle report file will still be written).
failAfterAllErrors
(Boolean) default: false
Setting this option to true
will wait for all reporters to finish and then terminate the process with an error code 1 if linting issues (errors or warnings) have been found.