forked from matrix-org/matrix.org
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.typos.toml
67 lines (58 loc) · 1.8 KB
/
.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
59
60
61
62
63
64
65
66
67
[files]
extend-exclude = [
# files thta make no sense to be searched for typos
"*.jpg", "*.js*", "*.json", "*.mov", "*.png", "*.svg",
"/static/jira",
# external typo that must be replicated for technical correctness
"content/blog/2020/09/2020-09-04-this-week-in-matrix-2020-09-04.md",
# contains non-English
"content/blog/2021/07/2021-07-02-this-week-in-matrix-2021-07-02.md",
"content/blog/2021/09/2021-09-17-this-week-in-matrix-2021-09-17.md",
"content/blog/2023/06/16-twim.md",
"content/blog/2023/07/2023-07-28-twim.md",
# contains username that is also a common typo
"content/blog/2023/04/2023-04-14-this-week-in-matrix-2023-04-14.md",
# contains OTKs
"content/blog/2023/11/2023-11-24-twim.md",
]
[default]
extend-ignore-re = [
# youtube embed in articles
"\\{\\{ youtube_player\\(video_id=\"[^\"]+\"\\) \\}\\}",
# slang
"tha'",
"Wee!",
# multi-word terms where an individual word is detected as a typo
# such as user names, project names, domain names
"Big Sur",
"Fuj'ehr",
"VaiTon",
"WeeChat",
"add-ons",
"json-clos",
"new-morg\\.png",
"whos-in-this-room",
"inex\\.rocks",
"raim\\.ist",
"loca\\.lt",
"programm\\.fr",
"supercable\\.onl",
# weird things hard or impossible to catch with heuristics
"ERRORs",
"H5atH-tbeRo", # can't get more general regex for otwsu.toml working
"KSVTtGsolBXtfsLTeAciXnBc\\.png",
"MESSAGEs",
"\\`Ther\\`",
"\\[ba685b7\\]",
"\\[96e9afe6\\]",
]
[default.extend-words]
requestor = "requestor" # valid spelling variant
Allo = "Allo" # Google Allo
CSAE = "CSAE" # abbreviation
Flate = "Flate" # compression algorithm
Konversation = "Konversation"
Twosday = "Twosday" # quoted, portmanteau
# (user)names
feld = "feld"
Brose = "Brose"