juanfran / gulp-scss-lint

Gulp plugin to lint scss files with `scss-lint`
113 stars 33 forks source link

Fix debug-output, make it optional #19

Closed webgefrickel closed 9 years ago

webgefrickel commented 9 years ago

After updating gulp-scss-lint to version 0.1.5, when running the task with a very basic configuration:

gulp.task('scsslint', function () {
  return gulp.src(config.src + config.sass + '**/*.scss')
    .pipe(scsslint({
      config: '.scss-lint.yml'
    }));
});

the output on the command-line is overly verbose, showing me the whole command executed, with all files to be parsed:

[18:09:54] Starting 'scsslint'...
scss-lint /Users/me/Sites/dev/source/scss/main.scss /Users/me/Sites/dev/source/scss/base/_base.scss /Users/me/Sites/dev/source/scss/base/_fonts.scss [...]  --config .scss-lint.yml --format XML
[18:09:58] Finished 'scsslint' after 3.96 s

I made this 'bug' a feature with an additonal option :-)

juanfran commented 9 years ago

:joy: thank you @webgefrickel