forked from streetsidesoftware/cspell-dicts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcspell-ext.json
44 lines (44 loc) · 1.16 KB
/
cspell-ext.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
{
"id": "npm",
"name": "NPM",
"description": "Dictionary of Common Javascript Packages.",
"readonly": true,
"dictionaryDefinitions": [
{
"name": "npm",
"path": "./dict/npm.txt",
"description": "Dictionary of Common Javascript Packages."
}
],
"languageSettings": [
{
"languageId": "javascript,typescript,javascriptreact,typescriptreact",
"locale": "*",
"dictionaries": ["npm"]
}
],
"overrides": [
{
"filename": "**/package.json",
"dictionaries": ["npm"],
"ignoreRegExpList": ["npm-scripts"],
"patterns": [
{
"name": "npm-scripts",
"pattern": ["pre-npm-scripts", "post-npm-scripts"],
"description": "Matches any NPM pre and post scripts from NPM lifecycle."
},
{
"name": "pre-npm-scripts",
"pattern": "/^\\s*\"pre[^\"]+\":/gm",
"description": "Matches any NPM pre scripts from NPM lifecycle."
},
{
"name": "post-npm-scripts",
"pattern": "/^\\s*\"post[^\"]+\":/gm",
"description": "Matches any NPM post scripts from NPM lifecycle."
}
]
}
]
}