meshviewer/gulp/tasks/sasslint.js

9 lines
263 B
JavaScript
Raw Normal View History

2017-03-22 22:13:37 +00:00
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()));
};
};