meshviewer/gulp/tasks/sasslint.js

9 lines
266 B
JavaScript
Raw Permalink Normal View History

2017-03-22 22:13:37 +00:00
module.exports = function (gulp, plugins, config, env) {
return function sasslint() {
2017-04-14 12:56:44 +00:00
return gulp.src('scss/**/*.scss')
2017-03-22 22:13:37 +00:00
.pipe(plugins.sassLint())
.pipe(plugins.sassLint.format())
.pipe(env.production(plugins.sassLint.failOnError()));
};
};