gulp-scss-lint
gulp-scss-lint copied to clipboard
Issue with running the linter
Hi, tried to include this plugin in our gulp file. However, I'm getting this error:
sass | { [Error: Input file did not exist or was not readable]
sass | message: 'Input file did not exist or was not readable',
sass | showStack: false,
sass | showProperties: true,
sass | plugin: 'gulp-scss-lint',
sass | __safety: { toString: [Function: bound ] } }
Any idea what this could be? Running the linter with the gem works fine.
Could you tell me your config? Also you can add the verbose
option and see the scss-lint
command
thanks
Where should I add verbose? This is the task itself:
gulp.task('sass', function() {
var src = gulp.src('frontend/assets/stylesheets/*.scss');
return src
.pipe(sourcemaps.init())
.pipe(sass())
.pipe(scsslint())
.pipe(replaceAssetDataUrl())
.pipe(autoprefixer({
browsers: [
'last 2 versions', 'Chrome >= 19', 'Safari >= 4.0', 'Opera >= 10.5',
'Firefox >= 3.7', 'Explorer >= 10'
],
cascade: false,
remove: true}))
.pipe(sourcemaps.write())
.pipe(gulp.dest('public/assets'));
});
scss-lint must be before the sass plugin or in a different task