We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ref: #63 for input/configuration, except gulpfile.js is as follows:
const gulp = require('gulp'), csslint = require('gulp-csslint'); gulp.task('css', function() { return gulp.src('test.css') .pipe(csslint('.csslintrc')) .pipe(csslint.formatter()) .pipe(csslint.failFormatter()); });
Expected output should be that of the "Actual output" of #63, actual output is as follows:
$ gulp css [19:25:51] Using gulpfile D:\Documents\git\test\gulpfile.js [19:25:51] Starting 'css'... [19:25:51] 'css' errored after 48 ms [19:25:51] Error in plugin "gulp-csslint" Message: CSSLint failed for test.css Details: domainEmitter: [object Object] domain: [object Object] domainThrown: false
The text was updated successfully, but these errors were encountered:
Fixed this way :
var gulp = require('gulp') var csslint = require('gulp-csslint') var reporter = require('gulp-reporter') gulp.task('lint:css', function() { return gulp.src(['theme/css/*.css', '!theme/css/*.min.css']) .pipe(csslint('.csslintrc.json')) .pipe(csslint.formatter()) .pipe(reporter()) # that stuff was needed here .pipe(csslint.formatter('fail')) })
Sorry, something went wrong.
No branches or pull requests
Ref: #63 for input/configuration, except gulpfile.js is as follows:
Expected output should be that of the "Actual output" of #63, actual output is as follows:
The text was updated successfully, but these errors were encountered: