mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-09 17:10:57 +00:00
chore: Remove false positives in typo checks
This commit is contained in:
parent
c639228f4d
commit
f513cb7598
1 changed files with 15 additions and 1 deletions
16
.typos.toml
16
.typos.toml
|
@ -1,5 +1,19 @@
|
||||||
[files]
|
[files]
|
||||||
extend-exclude = ["*.csr"]
|
extend-exclude = ["*.csr", "*.lock", "pnpm-lock.yaml"]
|
||||||
|
|
||||||
|
[default]
|
||||||
|
|
||||||
|
extend-ignore-re = [
|
||||||
|
"(?Rm)^.*(#|//|<!--)\\s*spellchecker:disable-line(\\s*-->)$", # Ignore a line by making it trail with a `spellchecker:disable-line` comment
|
||||||
|
"^[0-9a-f]{7,}$", # Commit hashes
|
||||||
|
|
||||||
|
# some heuristics for base64 strings
|
||||||
|
"[A-Za-z0-9+=]{72,}",
|
||||||
|
"([A-Za-z0-9+=]|\\\\\\s\\*){72,}",
|
||||||
|
"[0-9+][A-Za-z0-9+]{30,}[a-z0-9+]",
|
||||||
|
"\\$[A-Z0-9+][A-Za-z0-9+]{6,}[a-z0-9+]",
|
||||||
|
"\\b[a-z0-9+/=][A-Za-z0-9+/=]{7,}[a-z0-9+/=][A-Z]\\b",
|
||||||
|
]
|
||||||
|
|
||||||
[default.extend-words]
|
[default.extend-words]
|
||||||
"allocatedp" = "allocatedp"
|
"allocatedp" = "allocatedp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue