-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
cspell.json
94 lines (94 loc) · 2.23 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"version": "0.2",
"cache": {
"cacheLocation": "./.cspellcache",
"cacheStrategy": "content",
"useCache": true
},
"useGitignore": true,
"language": "en_US",
"import": [
"./tests/extra/cspell.gnome.json"
],
"dictionaries": ["en-US", "valent"],
"dictionaryDefinitions": [
{
"name": "valent",
"path": "./tests/extra/cspell-valent.txt"
}
],
"words": [],
"ignorePaths": [
".gitignore",
".github/workflows/**",
"build-aux/**",
"doc/sdk/**",
"LICENSES/**",
"po/**",
"src/plugins/mousepad/valent-mousepad-keydef.*",
"subprojects/**",
"tests/extra/**",
"tests/fixtures/data/**",
"cspell.json",
"*.gresource.xml",
"*.oga",
"*.ontology",
"*.py",
"*.svg",
"*.toml",
"**/meson.build",
"meson_options.txt"
],
"ignoreRegExpList": [
"cli-option",
"noun-abbreviation",
"noun-library",
"noun-proper"
],
"patterns": [
{
"name": "cli-option",
"pattern": "/--(\\w+)/gi"
},
{
"name": "presentation-mimetype",
"pattern": "/application/vnd\\..*/g"
},
{
"name": "markdown-block-code",
"pattern": "/```[\\s\\S]*?```(?=\\n|$)/gi"
},
{
"name": "markdown-inline-code",
"pattern": "/`[^`]*`/gi"
},
{
"name": "noun-library",
"pattern": "/\\b(lib[a-z]+)\\b/g"
},
{
"name": "noun-abbreviation",
"pattern": "/\\b([A-Z]+)\\b/g"
},
{
"name": "noun-proper",
"pattern": "/(?:\\s*\\b([A-Z][a-z]+)\\b)+/g"
}
],
"languageSettings": [
{
"languageId": "c",
"dictionaries": ["cpp", "gnome"],
"ignoreRegExpList": [
"presentation-mimetype"
]
},
{
"languageId": "markdown",
"ignoreRegExpList": [
"markdown-block-code",
"markdown-inline-code"
]
}
]
}