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]
|
[codespell]
|
||||||
# A seperate RC file for detecting camelCase, PascalCase, and kebab-case errors
|
# A separate 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 little more prone to false positives than our standard regex, also fails to detect
|
||||||
# hyphenated words in the dictonary.
|
# 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.
|
# by the normal RC file, and we get false positives from git hashes.
|
||||||
skip = node_modules,
|
skip = node_modules,
|
||||||
*-lock.json,
|
*-lock.json,
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ spelling:
|
||||||
script:
|
script:
|
||||||
# Run with our standard regex, best for normal text and snake-case
|
# Run with our standard regex, best for normal text and snake-case
|
||||||
- codespell .
|
- 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 .
|
- codespell --config .codespellrc2 .
|
||||||
|
|
||||||
# Python static analysis and formatting with ruff
|
# Python static analysis and formatting with ruff
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue