-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path_typos.toml
More file actions
44 lines (40 loc) · 1.61 KB
/
Copy path_typos.toml
File metadata and controls
44 lines (40 loc) · 1.61 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
# typos configuration — https://github.com/crate-ci/typos
# Free, deterministic spell-checking in CI: the no-AI replacement for the
# spelling half of Mintlify's "Fix grammar & typos" workflow.
#
# typos only flags *known* misspellings (not every unknown word), so the
# false-positive surface is small — the [default.extend-words] list below
# allowlists the few protocol terms it would otherwise "correct".
[files]
extend-exclude = [
"llms.txt",
"llms-full.txt",
"*.lock",
"package-lock.json",
"pnpm-lock.yaml",
"yarn.lock",
"assets/**",
"logo/**",
"favicons/**",
"*.svg",
"*.min.js",
"cosmos-sdk/**",
"google*.html", # Google Search Console site-verification tokens
]
[default]
# Don't treat hex addresses / hashes as words to be spell-checked.
extend-ignore-re = ['0x[0-9a-fA-F]{6,}']
[default.extend-identifiers]
# "UPnP" is a real protocol name; typos splits it and flags the "Pn".
# It appears in the auto-generated config block in node/node-operators.mdx.
UPnP = "UPnP"
[default.extend-words]
# Allowlist (word = same word). Populated from a real `typos` run over the repo.
# "maxiumum" is an upstream typo in CometBFT's config.toml comments, inlined by
# scripts/sync-default-configs.mjs — fixing it here would be reverted on re-sync.
maxiumum = "maxiumum"
# Upstream typos in the sei-chain CHANGELOG, inlined verbatim into
# snippets/changelog.jsx (the live GitHub fetch returns the same text, so
# "correcting" the snapshot would only diverge from the source of truth).
numnber = "numnber" # PR #237 title: "Add next-account-numnber cli"
tunning = "tunning" # changelog entry: "log tunning for p2p"