meshviewer/gulp/tasks/sasslint.js
2017-03-27 21:02:18 +02:00

9 lines
263 B
JavaScript

module.exports = function (gulp, plugins, config, env) {
return function sasslint() {
return gulp.src('scss/*.scss')
.pipe(plugins.sassLint())
.pipe(plugins.sassLint.format())
.pipe(env.production(plugins.sassLint.failOnError()));
};
};