Created
July 1, 2015 14:58
-
-
Save dylansmith/66efa6b9acd696250fb3 to your computer and use it in GitHub Desktop.
Gulp task to run sass-lint and pipe to a text file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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