Skip to content

Instantly share code, notes, and snippets.

@dylansmith
Created July 1, 2015 14:58
Show Gist options
  • Save dylansmith/66efa6b9acd696250fb3 to your computer and use it in GitHub Desktop.
Save dylansmith/66efa6b9acd696250fb3 to your computer and use it in GitHub Desktop.
Gulp task to run sass-lint and pipe to a text file
gulp.task('shell-scss-lint', function() {
gulp.src('')
.pipe($.shell([
'scss-lint -c src/config/scss-lint.config.yml src/app/common/styles/ > scss-report.txt'
]))
// swallow errors
.on('error', function() {
this.emit('end');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment