voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

chore: Validate HTML on PR commits #100

Closed jbmoelker closed 9 months ago

jbmoelker commented 9 months ago

Changes

Associated issue

Resolves #6

How to test

Run npm run lint:html

> head-start@0.0.1 lint:html
> html-validate --config config/htmlvalidate/config.json dist/

...

Error:    1:4170  error  End tag for <meta> must be omitted              void-content
Error:    3:635   error  Redundant role "list" on <ul>                   no-redundant-role
Error:   12:2346  error  <iframe> is missing required "title" attribute  element-required-attributes

Checklist

cloudflare-workers-and-pages[bot] commented 9 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0a652c
Status: ✅  Deploy successful!
Preview URL: https://e699323e.head-start.pages.dev
Branch Preview URL: https://chore-validate-html.head-start.pages.dev

View logs