-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.typos.toml
46 lines (42 loc) · 906 Bytes
/
.typos.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[default]
extend-ignore-identifiers-re = [
# Short git hashes
"^[a-f0-9]{7}$",
# Base64
"^[a-zA-Z0-9_]{43}$",
"^[a-zA-Z0-9_]{44}$",
"^[a-zA-Z0-9_]{47}$",
"^[a-zA-Z0-9_]{49}$",
"^[a-zA-Z0-9_]{56,}$",
]
# Truncated hex IDs (ex. "0x9...a9b")
extend-ignore-re = ["0x[a-f0-9]\\.{3}[a-f0-9]{3}"]
[type.hex-move]
extend-glob = ["hex.move"]
extend-words = { ba = "ba" }
[default.extend-words]
# ordinal numbers (2nd, ...)
nd = "nd"
# random identifiers, variables, functions, ...
tto = "tto"
ser = "ser"
groth = "groth"
# Identity
AAS = "AAS"
# actual typos purposely used in tests
assing = "assing"
tring = "tring"
# better suggestions for typos
transferer = "transferrer"
# not in the correction dictionary
checkpoitn = "checkpoint"
[default.extend-identifiers]
numer = "numer"
[files]
extend-exclude = [
"pnpm-lock.yaml",
"external-crates/*",
"config-patch",
"*.patch",
"*.svg",
]