-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.textlintrc.json
55 lines (55 loc) · 1.58 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"plugins": {},
"filters": {
"comments": true
},
"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: (Note: Does not work for \ in paths)
"about_Preference_Variables",
"CIDR",
"Containers[\\s\\.\\-]ToolKit/gi",
"/Cmdlet/gi",
"cni",
"/Containerd/gi",
"/BuildKit/gi",
"/buildkitd/gi",
"/H(ost)?N(etworking)?S(ervice)?/g",
"/Hyper[\\s-]?V/g",
"/moby/gi",
"/nat/gi",
"NatNetwork",
"nerdctl",
"PowerShell",
"/PSCustomObject/gi",
"subnet",
"/unregisters/gi",
"WinCNIPlugin",
// Parameter names
"DownloadPath",
"InstallPath",
"LatestVersion",
"NetworkName",
"OSArchitecture",
"RegisterServices",
"SourceRepo",
"WhatIf",
"WinCNIPath",
"WinCNIVersion"
]
}
}
}