Skip to content

Instantly share code, notes, and snippets.

@AdamMarsden
Created December 5, 2017 17:00
Show Gist options
  • Save AdamMarsden/4f1c9bcb146f2331704656d3cc380230 to your computer and use it in GitHub Desktop.
Save AdamMarsden/4f1c9bcb146f2331704656d3cc380230 to your computer and use it in GitHub Desktop.
sassLint = require('gulp-sass-lint');
gulp.task('sass-lint', function () {
return gulp.src([
'sass/**/*.scss',
'!sass/dont-watch-this.scss'
])
.pipe(sasslint())
.pipe(sasslint.format())
.pipe(sasslint.failOnError())
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment