Repository navigation
Expand file tree
/
Copy pathtypos.toml
More file actions
119 lines (112 loc) · 2.12 KB
/
Copy pathtypos.toml
File metadata and controls
119 lines (112 loc) · 2.12 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[files]
extend-exclude = [
".git",
"target",
"Cargo.lock",
"kona/docker/recipes/kona-node-dev/kona-node/bootstores",
"docs/docs/dist/",
"*.min.js",
"op-alloy/CHANGELOG.md",
"op-revm/CHANGELOG.md",
"op-reth/crates/storage/libmdbx-rs/mdbx-sys/libmdbx",
"op-reth/testing/ef-tests",
"op-rbuilder",
"rollup-boost",
]
[default]
extend-ignore-re = [
# Hex strings of various lengths
"(?i)0x[0-9a-f]{8,}",
"(?i)[0-9a-f]{32,}",
"(?i)[0-9a-f]{8}",
"(?i)[0-9a-f]{40}",
"(?i)[0-9a-f]{64}",
# Ordinals in identifiers
"[0-9]+nd",
"[0-9]+th",
"[0-9]+st",
"[0-9]+rd",
# Base64 encoded strings (common in tests and configs)
"[A-Za-z0-9+/]{20,}={0,2}",
]
[default.extend-words]
# Valid Rust/Cargo terms
crate = "crate"
crates = "crates"
# Blockchain/Ethereum specific terms
alloy = "alloy"
anvil = "anvil"
asm = "asm"
asterisc = "asterisc"
batcher = "batcher"
bedrock = "bedrock"
bootnode = "bootnode"
cannon = "cannon"
chainid = "chainid"
codegen = "codegen"
derivation = "derivation"
enr = "enr"
ethereum = "ethereum"
fpvm = "fpvm"
geth = "geth"
hel = "hel"
interop = "interop"
kona = "kona"
libmdbx = "libmdbx"
merkle = "merkle"
mips = "mips"
mpsc = "mpsc"
optimism = "optimism"
preimage = "preimage"
revm = "revm"
risc = "risc"
rollup = "rollup"
rpc = "rpc"
sequencer = "sequencer"
ser = "ser"
serde = "serde"
supervisor = "supervisor"
superchain = "superchain"
trie = "trie"
txs = "txs"
udeps = "udeps"
usize = "usize"
workspaces = "workspaces"
# Technical abbreviations and acronyms
api = "api"
cli = "cli"
cfg = "cfg"
const = "const"
env = "env"
impl = "impl"
io = "io"
lru = "lru"
mpt = "mpt"
msg = "msg"
mut = "mut"
nums = "nums"
num = "num"
ok = "ok"
std = "std"
structs = "structs"
ty = "ty"
typ = "typ"
vec = "vec"
# Additional project-specific terms
flate = "flate"
ratatui = "ratatui"
superseed = "superseed"
jsonrpsee = "jsonrpsee"
tokio = "tokio"
async = "async"
await = "await"
# op-reth specific
seeked = "seeked"
Seeked = "Seeked"
Whe = "Whe"
ONL = "ONL"
Iy = "Iy"
Pn = "Pn"
BA = "BA"
# op-e2e Go identifiers (kona/tests/proofs action tests)
dfault = "dfault"