Skip to content

Disable Vale.Spelling; enforce house style only#7

Merged
eshaben merged 1 commit into
mainfrom
disable-vale-spelling
Jun 1, 2026
Merged

Disable Vale.Spelling; enforce house style only#7
eshaben merged 1 commit into
mainfrom
disable-vale-spelling

Conversation

@brunopgalvao
Copy link
Copy Markdown
Contributor

Summary

Disable Vale.Spelling in the canonical .vale.ini so the styleguide enforces house style, not spelling.

Vale.Spelling = NO

Why

Vale.Spelling (Hunspell) arrived for free with the base Vale style. On technical documentation it flags an endless tail of valid tool and package names — npm, dev, toolchain, Turbopack, etc. — as misspellings, with no meaningful typo-catching benefit to offset the ongoing vocab-curation toil.

This came up downstream in polkadot-developers/polkadot-docs#1678: a reviewer started a thread collecting words Vale was flagging locally (dev, devtools, npm, toolchain, Turbopack, PWallet) — all valid terms, all Vale.Spelling false positives. We disabled it there; this proposes making it the canonical default so every adopting repo inherits the right behavior instead of rediscovering the noise and overriding locally.

The curated PaperMoon house-style rules plus Vale.Repetition and Vale.Terms stay enabled — those are the point of the styleguide.

Tradeoff

Genuine prose typos are no longer caught by Vale and rely on review. On a heavily technical corpus that's a worthwhile trade given the false-positive rate.

Note on propagation

.vale.ini is not synced by adopters (the sync script copies only styles/PaperMoon/*.yml and the PaperMoon vocab). So this doesn't auto-propagate — it sets a better default for new repos copying this config as their template, and aligns the styleguide repo's own linting with that default.

The spell-checker arrived with the base Vale style and flags an endless
tail of valid tool/package names on technical docs with no typo-catching
benefit worth the vocab-curation toil. Keep the curated PaperMoon
house-style rules plus Vale.Repetition and Vale.Terms. Adopting repos
inherit this as the default house behavior.
@brunopgalvao brunopgalvao requested a review from eshaben May 29, 2026 07:39
@brunopgalvao brunopgalvao self-assigned this May 29, 2026
@eshaben eshaben merged commit c2faaf8 into main Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants