forked from linebender/xilem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.typos.toml
34 lines (29 loc) · 1.11 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
# See the configuration reference at
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
[default]
extend-ignore-re = [
# Matches lorem ipsum text.
# In general, regexes are only matched until the end of a line by typos,
# and the repeated matcher at the end of both of these also ensures that
# matching ends at quotes or symbols commonly used to terminate comments.
"Lorem ipsum [a-zA-Z .,]*",
"Phasellus in viverra dolor [a-zA-Z .,]*",
]
# Corrections take the form of a key/value pair. The key is the incorrect word
# and the value is the correct word. If the key and value are the same, the
# word is treated as always correct. If the value is an empty string, the word
# is treated as always incorrect.
[default.extend-identifiers]
FillStrat = "FillStrat" # short for strategy
# Case insensitive
[default.extend-words]
seeked = "seeked" # Part of the HTML standard
[files]
# Include .github, .cargo, etc.
ignore-hidden = false
extend-exclude = [
"masonry/resources/i18n",
# /.git isn't in .gitignore, because git never tracks it.
# Typos doesn't know that, though.
"/.git",
]