ci(docs.dig.net): add §2.4a Prettier format gate + strict lint (#1042) - #51
Merged
Conversation
Anchor commit — implementation in progress. Bumps 0.7.2 -> 0.7.3 (patch). Co-Authored-By: Claude <noreply@anthropic.com>
Wire prettier + eslint-config-prettier so format:check runs in the PR gate before lint/build. Scoped to the JS/TS code surface only (src/, scripts/, tests/, root configs) via .prettierignore — docs content, i18n translations, and generated artifacts are explicitly excluded so this never touches the 1155+ md/mdx files across 14 locales. lint tightened to --max-warnings 0 to match the other gates. Co-Authored-By: Claude <noreply@anthropic.com>
Isolated formatting-only sweep over src/, scripts/, tests/, and root config files per the new .prettierrc — no behavior change. Co-Authored-By: Claude <noreply@anthropic.com>
MichaelTaylor3d
marked this pull request as ready for review
July 30, 2026 05:52
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.
Task
Closes #1042-child (docs.dig.net) — adds the §2.4a Prettier format gate to the Docusaurus docs site, the last cold service frontend missing it. v0.7.2 → 0.7.3 (patch).
🚧 Draft anchor — implementation in progress.
Scope (mirrors explore/search/bugreport/dig.net, adapted for Docusaurus)
prettier^3 +eslint-config-prettier^10 devDeps;.prettierrc(canonical house style: printWidth 100, singleQuote false, trailingComma all, semi true, tabWidth 2) +.prettierignore..prettierignoreEXCLUDES the docs/blog/i18n content trees (1155 md/mdx across 14 locales) and build output (dist/,.docusaurus/). Prettier formats only the code surface (src/**,scripts/**, config*.ts/*.mjs/*.js) — never mass-reformats translated content (§4.3 docs integrity, §6.6 i18n).format/format:checkscripts;eslint-config-prettierwired LAST in the eslint flat config.format (prettier)step added to the deploy.yml PR gate job (before lint); lint stayseslint . --max-warnings 0.prettier --writeon the code surface, isolated in its ownstyle:commit.Generated by Claude Code