-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypos.toml
More file actions
72 lines (60 loc) · 1.07 KB
/
typos.toml
File metadata and controls
72 lines (60 loc) · 1.07 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
# Spell checker configuration for typos-cli
# https://github.com/crate-ci/typos
#
# Run: typos .
# Fix: typos . --write-changes
[files]
extend-exclude = [
# Dependencies
"Cargo.lock",
"target/",
# Build artifacts
"*.profraw",
# Test fixtures
"testdata/",
# Do not self-check
"typos.toml",
]
[default]
extend-ignore-re = [
# Ignore base64/hex encoded strings
"\"[A-Za-z0-9+/=]{20,}\"",
"0x[A-Fa-f0-9]{8,}",
]
[default.extend-words]
# Rust conventions
cfg = "cfg"
ser = "ser" # serde
deser = "deser" # deserialize
vec = "vec"
mut = "mut"
impl = "impl"
recv = "recv" # receive
alloc = "alloc"
# Crypto/blockchain terminology
ecdsa = "ecdsa"
schnorr = "schnorr"
keccak = "keccak"
merkle = "merkle"
trie = "trie"
nonce = "nonce"
pubkey = "pubkey"
privkey = "privkey"
sig = "sig"
tx = "tx" # transaction
txs = "txs"
utxo = "utxo"
rlp = "rlp"
# Consensus terminology
bft = "bft"
pbft = "pbft"
poa = "poa"
pos = "pos"
# File formats
edn = "edn"
[type.rust]
extend-glob = ["*.rs"]
[type.markdown]
extend-glob = ["*.md"]
[type.toml]
extend-glob = ["*.toml"]