Open dxcqcv opened 8 years ago
is anyway to check attribute typo error in pug
like typo error
link( href='css/commons.css', rel='stylesheets', type='text/css' )
should be
link( href='css/commons.css', rel='stylesheet', type='text/css' )
but there are not error or warning to report using gulp-pug-lint
in gulp like
let puglint = require('gulp-pug-lint'); gulp.task('html', function(){ return gulp.src(['./src/*.pug','./src/**/*.pug']) .pipe(puglint()) .pipe(pug({pretty:true})) .pipe(gulp.dest('./')); });
but it's very difficult to find by human eyes, so anyway can check this error or to add this feature, thx
is anyway to check attribute typo error in pug
like typo error
should be
but there are not error or warning to report using gulp-pug-lint
in gulp like
but it's very difficult to find by human eyes, so anyway can check this error or to add this feature, thx