Closed escapedcat closed 10 years ago
I think that doesn't work if the scsslint pipe receives any of the excluded scss files, example..
gulp.src('scss/*.scss')
.pipe(csslint({
'exclude': './scss/_*.scss'
}))
In the above code the plugin try to excute something like this
scss-lint ./scss/_styles.scss --exclude ./scss/_*.scss
and this doesn't work.
You should do something like this
gulp.src(['scss/*.scss', '!scss/_*.scss'])
.pipe(csslint())
Ignore files in the gulp src instead of the plugin exclude option.
Anyway, I'll try to fix it because it's a very strange behavior, thanks
Ah, right, yes... d'oh! Thanks for explaining how gulp works m(
I ran into the same thing - only thing, I wanted to use the exclude
property inside the config-yml. just FYI.
Now throw this error when you add exclude option "You must use gulp src to exclude"
I try to exclude a specific files from linting.
Using scss-lint this works:
Using gulp-scss-lint this failes:
Not sure if it's my mistake or the plugin itself.