-
Notifications
You must be signed in to change notification settings - Fork 724
/
Copy pathtypos.toml
58 lines (54 loc) · 951 Bytes
/
typos.toml
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
[files]
extend-exclude = [
# Build
"build.zig.zon",
"build.zig.zon.nix",
"build.zig.zon.txt",
"build.zig.zon.json",
# vendored code
"vendor/*",
"pkg/*",
"src/stb/*",
# "grey" color names are valid
"src/terminal/res/rgb.txt",
# Do not self-check
"typos.toml",
# Fonts
"*.ttf",
"*.otf",
# Images
"*.png",
"*.ico",
"*.icns",
# Other
"*.pdf",
"*.data",
"*.xib",
"src/cli/lorem_ipsum.txt",
]
[default]
extend-ignore-re = [
# Ignore typos in test expectations
"testing\\.expect[^;]*;",
"kHOM\\d*",
]
[default.extend-words]
Pn = "Pn"
thr = "thr"
# Should be "halves", but for now skip it as it would make diff huge
halfs = "halfs"
# Swift oddities
Requestor = "Requestor"
iterm = "iterm"
ACCES = "ACCES"
wdth = "wdth"
Strat = "Strat"
grey = "gray"
greyscale = "grayscale"
DECID = "DECID"
flate = "flate"
[type.po]
extend-glob = ["*.po"]
check-file = false
[type.swift.extend-words]
inout = "inout"