Skip to content

Commit 5178bea

Browse files
committed
fix(validate): skip upstream/ and walkthrough/ in markdown filename check
The markdown-filenames validator was scanning into upstream/meander/ (a git submodule whose file naming we don't control) and blocking pnpm check with violations on AGENTS.md and test-walkthrough-docs/. Also proactively skip walkthrough/ — the tour build output is generated HTML, not hand-authored markdown, so there's no reason to crawl it either. Matches the same SKIP_DIRS treatment in scripts/validate/no-cdn-refs.mts.
1 parent e60d115 commit 5178bea

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/validate/markdown-filenames.mts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ const SKIP_DIRS = new Set([
6161
'.nuxt',
6262
'.output',
6363
'reports',
64+
// Vendored submodule — we don't control filenames in upstream code.
65+
'upstream',
66+
// Tour build output — generated HTML, not hand-authored markdown.
67+
'walkthrough',
6468
])
6569

6670
type MarkdownFilenameViolation = {

0 commit comments

Comments
 (0)