forked from linebender/parley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.typos.toml
36 lines (31 loc) · 1.12 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
# See the configuration reference at
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
# 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-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 .,]*",
]
# Match Identifier - Case Sensitive
[default.extend-identifiers]
Beng = "Beng"
Maka = "Maka"
ot = "ot"
ot_a = "ot_a"
ot_b = "ot_b"
wdth = "wdth"
# Match Inside a Word - Case Insensitive
[default.extend-words]
[files]
# Include .github, .cargo, etc.
ignore-hidden = false
# /.git isn't in .gitignore, because git never tracks it.
# Typos doesn't know that, though.
extend-exclude = ["/.git"]