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
# config-lib typos configuration
#
# Consolidated from .typos.toml + _typos.toml + typos.toml (Phase 0.9.2).
# Single source of truth for `cargo typos` / `typos-cli` runs.
[]
# Identifiers that look like typos to the default dictionary but are
# valid technical terms, abbreviations, or file globs in this crate.
= [
# Project / format identifiers
"noml",
"toml",
"hcl",
# Rust idioms commonly flagged
"vals",
"configs",
"structs",
"impls",
"repr",
"cfg",
"benchs",
"clippy",
"rustfmt",
"deser",
"ser",
"deserialize",
"serialize",
# File extensions and paths (skip whole-token matches that hit globs)
".*\\.rs$",
".*\\.toml$",
".*\\.yml$",
".*\\.yaml$",
".*\\.json$",
".*\\.xml$",
".*\\.conf$",
".*\\.properties$",
".*\\.ini$",
]
# Words allowed in prose, comments, and docs.
= [
"performant",
"config",
"configs",
"validator",
"validators",
"env",
"vars",
]
# Brand names and proper nouns that mirror common dictionary words.
[]
= "HashiCorp"
= "hashicorp"
= "HashiCorp"
= "DevOps"
# Contractions written without an apostrophe — accept as-is in code/comments
# rather than auto-correcting (these are intentional identifiers in some tests).
[]
= "don't"
= "won't"
= "can't"
[]
# Skip files that pollute the dictionary with version numbers, lockfile
# hashes, and historical text that we do not want to rewrite.
= [
"target/",
"*.lock",
"CHANGELOG.md",
]
# File-type globs used by typos to route per-language rules.
[]
= ["*.toml"]
[]
= ["*.rs"]
[]
= ["*.md"]
[]
= ["*.yml", "*.yaml"]