forked from paradigmxyz/reth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypos.toml
More file actions
39 lines (37 loc) · 1.09 KB
/
typos.toml
File metadata and controls
39 lines (37 loc) · 1.09 KB
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
[files]
extend-exclude = [
".git",
"target",
"crates/storage/libmdbx-rs/mdbx-sys/libmdbx",
"Cargo.toml",
"Cargo.lock",
"testing/ef-tests",
]
[default]
extend-ignore-re = [
# Hex strings of various lengths
"(?i)0x[0-9a-f]{8}", # 8 hex chars
"(?i)0x[0-9a-f]{40}", # 40 hex chars
"(?i)0x[0-9a-f]{64}", # 64 hex chars
"(?i)[0-9a-f]{8}", # 8 hex chars without 0x
"(?i)[0-9a-f]{40}", # 40 hex chars without 0x
"(?i)[0-9a-f]{64}", # 64 hex chars without 0x
# Ordinals in identifiers
"[0-9]+nd",
"[0-9]+th",
"[0-9]+st",
"[0-9]+rd",
]
[default.extend-words]
# These are valid identifiers/terms that should be allowed
crate = "crate"
ser = "ser"
ratatui = "ratatui"
seeked = "seeked" # Past tense of seek, used in trie iterator
Seeked = "Seeked" # Type name in trie iterator
Whe = "Whe" # Part of base64 encoded signature
hel = "hel" # Part of hostname bootnode-hetzner-hel
ONL = "ONL" # Part of base64 encoded ENR
Iy = "Iy" # Part of base64 encoded ENR
flate = "flate" # zlib-flate is a valid tool name
Pn = "Pn" # Part of UPnP (Universal Plug and Play)