-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.typos.toml
More file actions
77 lines (63 loc) · 1.58 KB
/
Copy path.typos.toml
File metadata and controls
77 lines (63 loc) · 1.58 KB
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
[default]
check-file = false
# words with length <= 4 chars can be noisy
extend-ignore-words-re = [ "^[a-zA-Z]{1,4}$" ]
# disable some ranges to reduce hassles
extend-ignore-re = [
# Ignore lines that end with `// spellchecker:disable-line`
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$",
# Ignore the line after `// spellchecker:ignore-next-line`:
"(#|//)\\s*spellchecker:ignore-next-line\\n.*",
# Ignore blocks between `// spellchecker:off` and `// spellchecker:on`
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
# Ignore quoted text / string literals, a must for this repository
"[\"][^\\n\"]*[\"]",
"['][^\\n']*[']",
"(?s)[\"][\"][\"]\\n.*?[\"][\"][\"]",
# Ignore lines containing Copyright, often names
".*Copyright.*"
]
[default.extend-identifiers]
# not allowed!
nocommit = ""
# not allowed!
TOOD = "TODO"
# customize the correction
seeked = "seek()ed"
[files]
# enable checking of e.g. .github
ignore-hidden = false
extend-exclude = [
# branch names etc
".git/**",
# test data
"**/src/test/**/*.{html,xml}",
# stemmers
"**/*Stemmer.java",
# spell/suggest
"**/hunspell/*.java"
]
[type.asciidoc]
check-file = true
[type.changelog]
check-file = true
extend-glob = [ "CHANGES.txt" ]
# ignore (user)names within parens in CHANGES.txt
extend-ignore-re = [ "[(][^()*]*[)]" ]
[type.groovy]
check-file = true
[type.help]
check-file = true
extend-glob = [ "help/*.txt"]
[type.html]
check-file = true
[type.java]
check-file = true
[type.md]
check-file = true
[type.py]
check-file = true
[type.xml]
check-file = true
[type.yaml]
check-file = true