Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to check attribute typo error #101

Open
dxcqcv opened this issue Jul 8, 2016 · 0 comments
Open

to check attribute typo error #101

dxcqcv opened this issue Jul 8, 2016 · 0 comments

Comments

@dxcqcv
Copy link

dxcqcv commented Jul 8, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant