@storm-software/cspell 0.45.91 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cspell-all.json +1 -1
- package/cspell-minimal.json +28 -71
- package/cspell-recommended.json +122 -53
- package/dict/storm.txt +6 -0
- package/dist/index.cjs +227 -258
- package/dist/index.js +227 -258
- package/package.json +29 -29
- package/cspell-base.json +0 -172
package/cspell-all.json
CHANGED
package/cspell-minimal.json
CHANGED
|
@@ -1,99 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
|
2
3
|
"version": "0.2",
|
|
3
|
-
"description": "
|
|
4
|
+
"description": "The minimal CSpell configuration used by Storm Software.",
|
|
5
|
+
"enabled": true,
|
|
4
6
|
"language": "en",
|
|
5
7
|
"caseSensitive": false,
|
|
8
|
+
"useGitignore": true,
|
|
9
|
+
"ignoreRandomStrings": true,
|
|
10
|
+
"allowCompoundWords": true,
|
|
11
|
+
"enabledLanguageIds": [
|
|
12
|
+
"typescript",
|
|
13
|
+
"javascript",
|
|
14
|
+
"typescriptreact",
|
|
15
|
+
"javascriptreact",
|
|
16
|
+
"json",
|
|
17
|
+
"jsonc",
|
|
18
|
+
"yaml"
|
|
19
|
+
],
|
|
20
|
+
"maxNumberOfProblems": 10000,
|
|
6
21
|
"dictionaries": [
|
|
7
22
|
"storm",
|
|
8
23
|
"en_us",
|
|
9
24
|
"softwareTerms",
|
|
10
25
|
"filetypes",
|
|
26
|
+
"git",
|
|
11
27
|
"node",
|
|
12
28
|
"npm",
|
|
13
|
-
"
|
|
14
|
-
"markdown"
|
|
15
|
-
],
|
|
16
|
-
"flagWords": [],
|
|
17
|
-
"useGitignore": true,
|
|
18
|
-
"ignoreRegExpList": [
|
|
19
|
-
"GHSA-[-\\w]+",
|
|
20
|
-
"Markdown links",
|
|
21
|
-
"Markdown code blocks",
|
|
22
|
-
"Inline code blocks",
|
|
23
|
-
"Link contents",
|
|
24
|
-
"Snippet references",
|
|
25
|
-
"Snippet references 2",
|
|
26
|
-
"Multi-line code blocks",
|
|
27
|
-
"HTML Tags"
|
|
28
|
-
],
|
|
29
|
-
"ignorePaths": [],
|
|
30
|
-
"overrides": [
|
|
31
|
-
{
|
|
32
|
-
"filename": "**/CHANGELOG*.md",
|
|
33
|
-
"ignoreRegExpList": ["@[-\\w]+"]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"filename": "'**/*.md*",
|
|
37
|
-
"ignoreRegExpList": ["\\]\\([^)]+\\)"]
|
|
38
|
-
}
|
|
29
|
+
"typescript"
|
|
39
30
|
],
|
|
40
|
-
"
|
|
41
|
-
{
|
|
42
|
-
"name": "Markdown links",
|
|
43
|
-
"pattern": "\\((.*)\\)",
|
|
44
|
-
"description": ""
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "Markdown code blocks",
|
|
48
|
-
"pattern": "/^(\\s*`{3,}).*[\\s\\S]*?^\\1/gmx",
|
|
49
|
-
"description": "Taken from the cSpell example at https://cspell.org/configuration/patterns/#verbose-regular-expressions"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "Inline code blocks",
|
|
53
|
-
"pattern": "\\`([^\\`\\r\\n]+?)\\`",
|
|
54
|
-
"description": "https://stackoverflow.com/questions/41274241/how-to-capture-inline-markdown-code-but-not-a-markdown-code-fence-with-regex"
|
|
55
|
-
},
|
|
31
|
+
"languageSettings": [
|
|
56
32
|
{
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"description": ""
|
|
33
|
+
"languageId": "javascript,javascriptreact,typescript,typescriptreact",
|
|
34
|
+
"dictionaries": ["storm", "typescript", "node", "npm", "softwareTerms"]
|
|
60
35
|
},
|
|
61
36
|
{
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"description": ""
|
|
37
|
+
"languageId": "json,jsonc,yaml",
|
|
38
|
+
"dictionaries": ["storm", "softwareTerms"]
|
|
65
39
|
},
|
|
66
40
|
{
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"description": "another kind of snippet reference"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "Multi-line code blocks",
|
|
73
|
-
"pattern": "/^\\s*```[\\s\\S]*?^\\s*```/gm"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "HTML Tags",
|
|
77
|
-
"pattern": "<[^>]*>",
|
|
78
|
-
"description": "Reference: https://stackoverflow.com/questions/11229831/regular-expression-to-remove-html-tags-from-a-string"
|
|
41
|
+
"languageId": "json,jsonc",
|
|
42
|
+
"dictionaries": ["storm", "node", "npm"]
|
|
79
43
|
}
|
|
80
44
|
],
|
|
81
45
|
"import": [
|
|
82
46
|
"./cspell-ext.json",
|
|
83
|
-
"@cspell/dict-css/cspell-ext.json",
|
|
84
47
|
"@cspell/dict-en_us/cspell-ext.json",
|
|
85
48
|
"@cspell/dict-filetypes/cspell-ext.json",
|
|
86
|
-
"@cspell/dict-
|
|
87
|
-
"@cspell/dict-html-symbol-entities/cspell-ext.json",
|
|
88
|
-
"@cspell/dict-html/cspell-ext.json",
|
|
89
|
-
"@cspell/dict-fonts/cspell-ext.json",
|
|
90
|
-
"@cspell/dict-lorem-ipsum/cspell-ext.json",
|
|
91
|
-
"@cspell/dict-markdown/cspell-ext.json",
|
|
49
|
+
"@cspell/dict-git/cspell-ext.json",
|
|
92
50
|
"@cspell/dict-node/cspell-ext.json",
|
|
93
51
|
"@cspell/dict-npm/cspell-ext.json",
|
|
94
|
-
"@cspell/dict-rust/cspell-ext.json",
|
|
95
|
-
"@cspell/dict-sql/cspell-ext.json",
|
|
96
52
|
"@cspell/dict-software-terms/cspell-ext.json",
|
|
97
53
|
"@cspell/dict-typescript/cspell-ext.json"
|
|
98
|
-
]
|
|
54
|
+
],
|
|
55
|
+
"ignorePaths": ["patches", "package-lock.json", "pnpm-lock.yaml", ".vscode"]
|
|
99
56
|
}
|
package/cspell-recommended.json
CHANGED
|
@@ -1,81 +1,150 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
|
2
3
|
"version": "0.2",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
"dockerfile",
|
|
6
|
-
"terraform",
|
|
7
|
-
"tfvars",
|
|
8
|
-
"commit-msg"
|
|
9
|
-
],
|
|
4
|
+
"description": "The recommended CSpell configuration used by Storm Software.",
|
|
5
|
+
"enabledLanguageIds": ["sql", "mdx", "rust", "markdown"],
|
|
10
6
|
"dictionaries": [
|
|
11
|
-
"
|
|
7
|
+
"fullstack",
|
|
8
|
+
"rust",
|
|
9
|
+
"sql",
|
|
10
|
+
"lorem-ipsum",
|
|
11
|
+
"markdown",
|
|
12
12
|
"public-licenses",
|
|
13
|
-
"
|
|
14
|
-
"cryptocurrencies",
|
|
15
|
-
"docker",
|
|
16
|
-
"git",
|
|
17
|
-
"k8s",
|
|
18
|
-
"aws",
|
|
19
|
-
"terraform"
|
|
13
|
+
"fonts"
|
|
20
14
|
],
|
|
21
|
-
"
|
|
15
|
+
"overrides": [
|
|
22
16
|
{
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
"filename": "**/CHANGELOG*.md",
|
|
18
|
+
"ignoreRegExpList": ["@[-\\w]+"]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"filename": "'**/*.md*",
|
|
22
|
+
"ignoreRegExpList": ["\\]\\([^)]+\\)"]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"patterns": [
|
|
26
|
+
{
|
|
27
|
+
"name": "Markdown link reference",
|
|
28
|
+
"description": "Markdown reference link: `[This is a link][reference]`, matches `[reference]`",
|
|
29
|
+
"pattern": "/(?<=])[[-w.`'\"*&;#@ ]+]/g"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "Markdown link footer",
|
|
33
|
+
"description": "Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.",
|
|
34
|
+
"pattern": "/[[-w.`'\"*&;#@ ]+]:( [^s]*)?/g"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "Markdown link",
|
|
38
|
+
"description": "Markdown link: `[link text](link)`, matches `link`",
|
|
39
|
+
"pattern": "/(?<=]()[^)s]+/g"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Markdown anchor",
|
|
43
|
+
"description": "Markdown Anchors: `<a id=\"my_link\"></a>`, matches `my_link`",
|
|
44
|
+
"pattern": "/(?<=<as+id=\")[^\"s]+/g"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Markdown code blocks",
|
|
48
|
+
"pattern": "/^(\\s*`{3,}).*[\\s\\S]*?^\\1/gmx",
|
|
49
|
+
"description": "Taken from the cSpell example at https://cspell.org/configuration/patterns/#verbose-regular-expressions"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "Inline code blocks",
|
|
53
|
+
"pattern": "\\`([^\\`\\r\\n]+?)\\`",
|
|
54
|
+
"description": "https://stackoverflow.com/questions/41274241/how-to-capture-inline-markdown-code-but-not-a-markdown-code-fence-with-regex"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "Link contents",
|
|
58
|
+
"pattern": "\\<a(.*)\\>",
|
|
59
|
+
"description": ""
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "Snippet references",
|
|
63
|
+
"pattern": "-- snippet:(.*)",
|
|
64
|
+
"description": ""
|
|
32
65
|
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Snippet references 2",
|
|
68
|
+
"pattern": "\\<\\[sample:(.*)",
|
|
69
|
+
"description": "another kind of snippet reference"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "Multi-line code blocks",
|
|
73
|
+
"pattern": "/^\\s*```[\\s\\S]*?^\\s*```/gm"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"languageSettings": [
|
|
33
77
|
{
|
|
34
78
|
"languageId": "json,jsonc,yaml",
|
|
79
|
+
"dictionaries": ["storm", "softwareTerms", "public-licenses"]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"languageId": "markdown,mdx",
|
|
35
83
|
"dictionaries": [
|
|
36
84
|
"storm",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
85
|
+
"npm",
|
|
86
|
+
"markdown",
|
|
39
87
|
"softwareTerms",
|
|
40
88
|
"public-licenses"
|
|
41
89
|
]
|
|
42
90
|
},
|
|
43
91
|
{
|
|
44
|
-
"languageId": "
|
|
45
|
-
"
|
|
92
|
+
"languageId": "map",
|
|
93
|
+
"enabled": false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"languageId": "image",
|
|
97
|
+
"enabled": false
|
|
46
98
|
},
|
|
47
99
|
{
|
|
48
|
-
"languageId": "
|
|
49
|
-
"
|
|
100
|
+
"languageId": "binary",
|
|
101
|
+
"enabled": false
|
|
50
102
|
},
|
|
51
103
|
{
|
|
52
|
-
"languageId": "
|
|
53
|
-
"
|
|
104
|
+
"languageId": "markdown",
|
|
105
|
+
"ignoreRegExpList": [
|
|
106
|
+
"Markdown link reference",
|
|
107
|
+
"Markdown link footer",
|
|
108
|
+
"Markdown link",
|
|
109
|
+
"Markdown anchor",
|
|
110
|
+
"Markdown code blocks",
|
|
111
|
+
"Inline code blocks",
|
|
112
|
+
"Link contents",
|
|
113
|
+
"Snippet references",
|
|
114
|
+
"Snippet references 2",
|
|
115
|
+
"Multi-line code blocks"
|
|
116
|
+
]
|
|
54
117
|
}
|
|
55
118
|
],
|
|
56
119
|
"import": [
|
|
57
|
-
"./cspell-
|
|
58
|
-
"
|
|
59
|
-
"@cspell/dict-cryptocurrencies/cspell-ext.json",
|
|
60
|
-
"@cspell/dict-docker/cspell-ext.json",
|
|
61
|
-
"@cspell/dict-en_us/cspell-ext.json",
|
|
62
|
-
"@cspell/dict-en-common-misspellings/cspell-ext.json",
|
|
63
|
-
"@cspell/dict-filetypes/cspell-ext.json",
|
|
64
|
-
"@cspell/dict-fonts/cspell-ext.json",
|
|
120
|
+
"./cspell-ext.json",
|
|
121
|
+
"./cspell-minimal.json",
|
|
65
122
|
"@cspell/dict-fullstack/cspell-ext.json",
|
|
66
|
-
"@cspell/dict-git/cspell-ext.json",
|
|
67
|
-
"@cspell/dict-html-symbol-entities/cspell-ext.json",
|
|
68
|
-
"@cspell/dict-html/cspell-ext.json",
|
|
69
|
-
"@cspell/dict-k8s/cspell-ext.json",
|
|
70
|
-
"@cspell/dict-lorem-ipsum/cspell-ext.json",
|
|
71
123
|
"@cspell/dict-markdown/cspell-ext.json",
|
|
72
|
-
"@cspell/dict-makefile/cspell-ext.json",
|
|
73
|
-
"@cspell/dict-node/cspell-ext.json",
|
|
74
|
-
"@cspell/dict-npm/cspell-ext.json",
|
|
75
|
-
"@cspell/dict-public-licenses/cspell-ext.json",
|
|
76
124
|
"@cspell/dict-rust/cspell-ext.json",
|
|
77
|
-
"@cspell/dict-
|
|
78
|
-
"@cspell/dict-
|
|
79
|
-
"@cspell/dict-
|
|
125
|
+
"@cspell/dict-lorem-ipsum/cspell-ext.json",
|
|
126
|
+
"@cspell/dict-public-licenses/cspell-ext.json",
|
|
127
|
+
"@cspell/dict-fonts/cspell-ext.json",
|
|
128
|
+
"@cspell/dict-sql/cspell-ext.json"
|
|
129
|
+
],
|
|
130
|
+
"ignoreRegExpList": [
|
|
131
|
+
"usernames\\s*=\\s*\\{[^}]*\\}",
|
|
132
|
+
"name:\\s*\"[^\"]*\"",
|
|
133
|
+
"description:\\s*\"[^\"]*\"",
|
|
134
|
+
"avatar:\\s*\"[^\"]*\"",
|
|
135
|
+
"twitter:\\s*\"[^\"]*\"",
|
|
136
|
+
"image:\\s*\"[^\"]*\"",
|
|
137
|
+
"privateKeyPass:\\s*\"[^\"]*\"",
|
|
138
|
+
"encPrivateKeyPass:\\s*\"[^\"]*\"",
|
|
139
|
+
"\"x\":\\s*\"[^\"]*\"",
|
|
140
|
+
"\\[@[^\\]]+\\]\\([^\\)]+\\)",
|
|
141
|
+
"\\[[^\\]]+\\]\\(https://github\\.com/\\w+\\)",
|
|
142
|
+
"\\[[^\\]]+\\]\\(https://x\\.com/\\w+\\)",
|
|
143
|
+
"@[a-zA-Z0-9-_]+",
|
|
144
|
+
"price_[a-zA-Z0-9-_]+",
|
|
145
|
+
"sub_[a-zA-Z0-9-_]+",
|
|
146
|
+
"%[0-9A-Fa-f]{2}(?:%[0-9A-Fa-f]{2})*",
|
|
147
|
+
"toBe\\([^\\)]*\\)",
|
|
148
|
+
"GHSA-[-\\w]+"
|
|
80
149
|
]
|
|
81
150
|
}
|
package/dict/storm.txt
CHANGED
|
@@ -144,6 +144,8 @@ cockroachdb
|
|
|
144
144
|
codecov
|
|
145
145
|
codegen
|
|
146
146
|
codeowners
|
|
147
|
+
codeship
|
|
148
|
+
colorterm
|
|
147
149
|
commitlint
|
|
148
150
|
commitlintrc
|
|
149
151
|
compat
|
|
@@ -163,6 +165,7 @@ datetime
|
|
|
163
165
|
davidanson
|
|
164
166
|
dbaeumer
|
|
165
167
|
deburr
|
|
168
|
+
deburred
|
|
166
169
|
deepkit
|
|
167
170
|
deepmerge
|
|
168
171
|
defu
|
|
@@ -302,9 +305,11 @@ oxlint
|
|
|
302
305
|
oxlintrc
|
|
303
306
|
packagejson
|
|
304
307
|
partytown
|
|
308
|
+
pathext
|
|
305
309
|
patsullivan
|
|
306
310
|
pgsslmode
|
|
307
311
|
pino
|
|
312
|
+
pipfile
|
|
308
313
|
plantuml
|
|
309
314
|
pluggable
|
|
310
315
|
pmmmwh
|
|
@@ -395,6 +400,7 @@ tlswrap
|
|
|
395
400
|
tmpl
|
|
396
401
|
transpiles
|
|
397
402
|
treeshake
|
|
403
|
+
truecolor
|
|
398
404
|
tsdoc
|
|
399
405
|
tsdocs
|
|
400
406
|
tsdown
|