Repository navigation
fix(docs): lint the whole docs subrepo - #365
Merged
Merged
Conversation
- deploy-sites.yml uploads a version, checks its CSP, HSTS, 404 page and TRACE handling on the version's workers.dev URL, then deploys it; the public hostnames are behind Bot Fight Mode, whose challenge page sends a CSP of its own - a Worker that does not exist yet gets one plain deploy first, which also turns on its version URLs
biome.jsonc included ".", which Biome 2 reads as the directory alone, so only one file was checked. Include "**" like www, skip the generated files, relax the same test-only rules as www, and fix what surfaced.
This reverts commit f83f0fe.
check_site_headers.sh runs workerd through wrangler dev; the binary comes from the platform optional dependency, so the install script (a validator and npm download fallback) stays off.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/biome.jsonc included
".", which Biome 2 reads as the directory alone, so docs lint checked one file. It now includes"**"like www, skips the generated files, and the issues that surfaced are fixed.