diff --git a/package.json b/package.json index 48a9d79e43..98c188155e 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "lint": "npm-run-all --continue-on-error lint:** lint-workspaces", "lint:css": "stylelint --allow-empty-input '**/*.{css,scss}'", "lint:js": "eslint --ext '.js,.json,.jsx,.mdx,.ts,.tsx' --report-unused-disable-directives .", - "lint:html": "find . -type d \\( -name node_modules \\) -prune -false -o -name '*.html' -print0 | xargs -0 npx html-validate", + "lint:html": "find . -type d \\( -name coverage -or -name dist -or -name node_modules -or -name build\\) -prune -false -o -name '*.html' -print0 | xargs -0 npx html-validate", "lint:md": "markdownlint '**/*.md'", "lint:package-json": "npmPkgJsonLint '**/package.json'", "lint:package-lock": "npm ls",