How to use gulp-w3c-html-validator - 3 common examples

To help you get started, we’ve selected a few gulp-w3c-html-validator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dnajs / dna.js / gulpfile.js View on Github external
const buildHtml = () =>
         gulp.src(['website/static/**/*.html', 'website/root/**/*.html'])
            .pipe(fileInclude({ basepath: '@root', indent: true, context: webContext }))
            .pipe(htmlHint(htmlHintConfig))
            .pipe(htmlHint.reporter())
            .pipe(htmlValidator())
            .pipe(htmlValidator.reporter())
            .pipe(gulp.dest(websiteTarget))
            .pipe(size({ showFiles: true }));
      return mergeStream(copyStaticFiles(), buildHtml());
github center-key / fetch-json / gulpfile.js View on Github external
analyzeHtml: () => {
      return gulp.src('docs/*.html')
         .pipe(htmlHint(htmlHintConfig))
         .pipe(htmlHint.reporter())
         .pipe(htmlValidator())
         .pipe(htmlValidator.reporter())
         .pipe(size({ showFiles: true }));
      },
   buildDistribution: () => {
github center-key / clabe-validator / gulpfile.js View on Github external
analyzeHtml: () => {
      return gulp.src(['*.html', 'docs/*.html'])
         .pipe(htmlHint(htmlHintConfig))
         .pipe(htmlHint.reporter())
         .pipe(htmlValidator())
         .pipe(htmlValidator.reporter())
         .pipe(size({ showFiles: true }));
      },
   buildDistribution: () => {

gulp-w3c-html-validator

Gulp plugin to validate HTML using the W3C Markup Validation Service

MIT
Latest version published 9 months ago

Package Health Score

48 / 100
Full package analysis

Popular gulp-w3c-html-validator functions