Apply suggestions from code review of branch better-spellchecking

Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
Julian Stirling 2026-02-23 09:42:27 +00:00
parent 66b4a06e87
commit 5e511bf2e2
2 changed files with 4 additions and 4 deletions

View file

@ -1,9 +1,9 @@
[codespell]
# A seperate RC file for detecting camelCase, PascalCase, and kebab-case errors
# A little more prone to fals positives than our standard regex, aslo fails to detect
# A separate RC file for detecting camelCase, PascalCase, and kebab-case errors
# A little more prone to false positives than our standard regex, also fails to detect
# hyphenated words in the dictonary.
# Same as the main RC-file except for also excludes CHANGELOG as this is well covered
# Same as the main RC-file except it also excludes CHANGELOG as this is well covered
# by the normal RC file, and we get false positives from git hashes.
skip = node_modules,
*-lock.json,

View file

@ -78,7 +78,7 @@ spelling:
script:
# Run with our standard regex, best for normal text and snake-case
- codespell .
# Run again with a second regex that finds issues in camelCase, PascalCasem and kebab-case
# Run again with a second regex that finds issues in camelCase, PascalCase and kebab-case
- codespell --config .codespellrc2 .
# Python static analysis and formatting with ruff