forked from cncf/tag-env-sustainability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cspell.json
46 lines (46 loc) · 1.27 KB
/
cspell.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
{
"version": "0.2",
"language": "en",
"caseSensitive": false,
"dictionaries": ["en_US", "en-gb", "companies", "softwareTerms", "misc", "filetypes", "tag", "html", "cpp", "k8s"],
"ignorePaths": [],
"dictionaryDefinitions": [
{ "name": "tag", "path": "./tag-custom-dictionary-cspell.txt"}
],
"ignoreWords": [],
"ignoreRegExpList": [
"code",
"links",
"markdown-metadata"
],
"patterns": [
{
"name": "code-block-multi-line",
"pattern": "/```(.*)\n([\\s\\S]*?)```($|\n)/g"
},
{
"name": "code-block-single-line",
"pattern": "/`{1,3}([^`].*?)`{1,3}/g"
},
{
"name": "code",
"pattern": ["code-block-single-line", "code-block-multi-line"]
},
{
"name": "markdown-links",
"pattern": "/!?\\[([^\\]]*)\\]\\(([^\\)]+)\\)/g"
},
{
"name": "html-links",
"pattern": "/<a\\s+(?:[^>]*?\\s+)?href=\"[^\"]*\".*<\/a>/g"
},
{
"name": "links",
"pattern": ["markdown-links", "html-links"]
},
{
"name": "markdown-metadata",
"pattern": "/-{3}(.*)\n([\\s\\S]*?)-{3}/g"
}
]
}