[BUGFIX] Sasslint file matching

This commit is contained in:
Xaver Maierhofer 2017-04-14 14:56:44 +02:00
parent f51a92e6c2
commit 0a2f171f22
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8

View File

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