meshviewer/gulp/tasks/sasslint.js
2017-04-14 14:56:44 +02:00

9 lines
266 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()));
};
};