/gulp-xml-validator

Gulp plugin to validate XML

Primary LanguageJavaScript

gulp-xml-validator

npm npm npm Travis David David

Gulp plugin to validate XML. Based on xmldom and inspired by grunt-xml-validator.

Installation

# npm
$ npm install gulp-xml-validator

# Yarn
$ yarn add gulp-xml-validator

Usage

const gulp = require('gulp');
const xmlValidator = require('gulp-xml-validator');

gulp.task('lint', function () {
  return gulp.src('**/*.xml')
    .pipe(xmlValidator())
});

License

This work is licensed under The MIT License

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd