Apply suggestions from code review of branch better-spellchecking
Co-authored-by: Beth Probert <beth_probert@outlook.com>
This commit is contained in:
parent
66b4a06e87
commit
5e511bf2e2
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue