1.1.1 • Published 3 years ago

netlify-plugin-html-validate v1.1.1

Weekly downloads
196
License
MIT
Repository
github
Last release
3 years ago

netlify-plugin-html-validate

npm version

netlify-plugin-html-validate adds the ability to validate HTML generated by your Netlify build using html-validate.

Setup

Install the plugin as a dependency to your repository

npm i --s netlify-plugin-html-validate

Configure the plugin in netlify.toml

[[plugins]]
  package = "netlify-plugin-html-validate"

  [plugins.inputs]
    ext = "html"
    config = ".htmlvalidate.json"

The following parameters can be used for plugin.inputs

ParameterDescriptionrequireddefault
extThe file-name extension that identifies HTML filesnohtml
configConfiguration for html-validate; e.g. .htmlvalidate.json. If left blank, html-validate's default options will be used.no
pathSource to validate; provide a file name, directory or glob pattern.no

Configure validation rules for html-validate

To specify the validation rule set used by html-validate, setup a local configuration file, i.e. .htmlvalidate.json. Follow html-validate's configuration usage guide to customise your rules.

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.2.0

4 years ago

0.1.1-alpha.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.1.0-alpha.0

4 years ago