forked from microsoft/containers-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.textlintrc.json
35 lines (35 loc) · 1.26 KB
/
.textlintrc.json
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
{
"rules": {
"spelling": {
"language": "en",
"skipPatterns": [
"/[0-9]+/g", // numbers
"/\\bhttp(s)?:\\/\\/[^\\s)>]+/", // URL
// "/\\b[a-z\\d]{7,40}\\b/", // commit hash
"/\\([^)]+?\\)/", // inside parentheses
// // '/"[^"]+?"/', // inside quotation marks
// // "/`[^`]+?`/", // inside backticks
"/\\b(?:[A-Z]){2,}\\b/g", // acronyms
"/\\b(?:[a-zA-Z]+-[a-zA-Z]+)\\b/g", // hyphenated words/ function names
// "/\b\\S*\\.\\S{2,4}/g", // filenames
"/\\$[\\w]+(:\\w)?/g", // PowerShell variables
"/-\\w+\\b/g", // FIXME: PowerShell Cmdlets/function parameter names
"/\\b\\w+[./]\\w+\\b/g", // paths // FIXME: Does not work for \ in paths
"containers-toolkit",
"PowerShell",
"/Cmdlets/i",
"Containerd",
"BuildKit",
"buildkitd",
"nerdctl",
"WinCNIPlugin",
"NatNetwork",
"/nat/i",
"cni",
"HNS",
"CIDR",
"subnet"
]
}
}
}