Tidy cspell issues and add cspell to pre-commit hook#1828
Merged
pmckinney-codat merged 2 commits intomainfrom May 7, 2026
Merged
Tidy cspell issues and add cspell to pre-commit hook#1828pmckinney-codat merged 2 commits intomainfrom
pmckinney-codat merged 2 commits intomainfrom
Conversation
Fix 8 typos in docs, accept en-GB spellings, and add legitimate domain terms / sample-data names to the cspell dictionary so cspell runs clean across all .md/.mdx files. Add cspell to the lint-staged pre-commit hook so future typos block the commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
brettdorrans
approved these changes
May 7, 2026
|
Link check results for preview deployment (https://codat-docs-git-cspell-tidy-codat.vercel.app): |
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.
Summary
en,en-GBso British spellings (e.g.synchronisation,maximise,authorise) stop being flagged. The dictionary already hadOrganisationso this just makes it consistent.Codats→Codat's,hether→whether,questionnnaire→questionnaire,proivides→provides,averae→average,oustanding→outstanding,opportunitites→opportunities, plus 2 proseusecase→use case.cspell.json:Abra/Kedabra,Berge/Yundt,Cardable/cardable,createendpoint/downloadendpoint/endpointlink/listendpoint,datamodel/datatypes,deauthorizing,Freetext,grat(TabItem value inuw-decision.md),quickbooksonline,reengagement,Usecases/usecase/usecases.cspellto the lint-staged pre-commit hook so any new unknown word in a staged.md/.mdxfile blocks the commit.After these changes:
cspell **/*.md **/*.mdx --config cspell.jsonreports 0 issues across 559 files.Test plan
npx cspell "**/*.md" "**/*.mdx" --config cspell.jsonreturns 0 issuesdefenitelyandwoord, rannpx lint-staged— cspell flagged both and lint-staged reverted the staged state (commit would have been blocked)cardableshould be re-worded)🤖 Generated with Claude Code