The MDX format check (scripts/check-format.sh via remark + remark-preset-lint-recommended) does not flag trailing whitespace or consecutive blank lines, so these slip in unnoticed (see discussion on #299).
Proposal: add two lint rules to .remarkrc.json:
remark-lint-no-trailing-spaces
remark-lint-no-consecutive-blank-lines
Note: enabling these surfaces ~209 pre-existing violations across the docs. The auto-fix (pnpm format:mdx) should land in its own PR to keep the diff reviewable.
The MDX format check (
scripts/check-format.shvia remark +remark-preset-lint-recommended) does not flag trailing whitespace or consecutive blank lines, so these slip in unnoticed (see discussion on #299).Proposal: add two lint rules to
.remarkrc.json:remark-lint-no-trailing-spacesremark-lint-no-consecutive-blank-linesNote: enabling these surfaces ~209 pre-existing violations across the docs. The auto-fix (
pnpm format:mdx) should land in its own PR to keep the diff reviewable.