CI: markdownlint should cover nested repo Markdown #140
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/wiki#140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
npm run lint:mdonly coversdocs/**/*.{md,mdx}and root*.md, so nested repo Markdown likeassets/README.mdand.githubtemplates can drift without any CI signal.Evidence
main:markdownlint-cli2 "docs/**/*.{md,mdx}" "*.md"main:assets/README.mdnpm run lint:mdLinting: 40 file(s).github/**/*.mdandassets/**/*.mdimmediately catches existing Markdown formatting drift inassets/README.md(MD047missing trailing newline), proving the current CI scope is incomplete.Impact
Contributor-facing docs outside
docs/can regress in formatting/style with no PR-time feedback, which makes repo guidance inconsistent and lets small stale-content issues slip through review.Acceptance criteria
npm run lint:mdcovers nested repository Markdown outsidedocs/, including at least.github/**/*.mdandassets/**/*.mdnpm run cistays green after the lint-scope expansionAlready fixed on
mainby9abfb67(PR #141).package.jsonlint:mdismarkdownlint-cli2 "docs/**/*.{md,mdx}" ".github/**/*.md" "assets/**/*.md" "*.md". A local run onf005e79lints 72 files with 0 errors.