-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathtypos.toml
More file actions
37 lines (30 loc) · 824 Bytes
/
typos.toml
File metadata and controls
37 lines (30 loc) · 824 Bytes
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
[files]
extend-exclude = [
# 1. Exclude everything in the root directory by default
"/*",
# 2. Allow typos to enter your two target folders
"!/shared/",
"!/docs/",
# 3. Rules for 'shared': Ignore all files, allow subfolders, whitelist .adoc
"/shared/**",
"!/shared/**/",
"!/shared/**/*.adoc",
# 4. Rules for 'docs': Ignore all files, allow subfolders, whitelist .adoc
"/docs/**",
"!/docs/**/",
"!/docs/**/*.adoc",
]
[default.extend-words]
# in-toto is a legitimate security framework
intoto = "intoto"
[default.extend-identifiers]
# Technical terms that are not typos
ANDed = "ANDed"
[default]
extend-ignore-re = [
# Ignore base64 encoded strings (certificates, keys, etc.)
'[A-Za-z0-9+/]{20,}={0,2}',
'(?i)\b[0-9a-f]{12}\b',
'\-optin\-',
'adn:ignore',
]