forked from vscode-shellcheck/vscode-shellcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
296 lines (296 loc) · 9.11 KB
/
package.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
{
"name": "shellcheck",
"displayName": "ShellCheck",
"description": "Integrates ShellCheck into VS Code, a linter for Shell scripts.",
"version": "0.26.0",
"publisher": "timonwong",
"author": "Timon Wong <[email protected]> (https://github.com/timonwong)",
"contributors": [
"Felipe Santos <[email protected]> (https://github.com/felipecrs)"
],
"license": "MIT",
"categories": [
"Linters",
"Programming Languages"
],
"keywords": [
"shell",
"shellscript",
"bash",
"linter",
"lint"
],
"homepage": "https://github.com/vscode-shellcheck/vscode-shellcheck#readme",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/vscode-shellcheck/vscode-shellcheck.git"
},
"bugs": {
"url": "https://github.com/vscode-shellcheck/vscode-shellcheck/issues"
},
"sponsor": {
"url": "https://github.com/vscode-shellcheck/vscode-shellcheck"
},
"icon": "shellcheck.png",
"activationEvents": [
"onLanguage:shellscript",
"workspaceContains:**/.shellcheckrc"
],
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Only the user defined shellcheck executable will be taken into account when running in untrusted mode.",
"restrictedConfigurations": [
"shellcheck.executablePath"
]
}
},
"contributes": {
"languages": [
{
"id": "shellcheckrc",
"extensions": [
".shellcheckrc"
],
"configuration": "./languages/shellcheckrc/language-configuration.json"
},
{
"id": "shellcheck-output",
"configuration": "./languages/shellcheck-output/language-configuration.json"
}
],
"grammars": [
{
"language": "shellcheckrc",
"scopeName": "source.shellcheckrc",
"path": "./languages/shellcheckrc/tmLanguage.json"
},
{
"language": "shellcheck-output",
"scopeName": "shellcheck-output",
"path": "./languages/shellcheck-output/tmLanguage.json"
}
],
"commands": [
{
"command": "shellcheck.runLint",
"title": "ShellCheck: Run Linting"
}
],
"configuration": {
"title": "ShellCheck",
"type": "object",
"properties": {
"shellcheck.enable": {
"description": "Whether shellcheck is enabled or not.",
"type": "boolean",
"scope": "resource",
"default": true
},
"shellcheck.enableQuickFix": {
"description": "Whether to enable the \"Quick Fix\" feature.",
"type": "boolean",
"scope": "resource",
"default": true
},
"shellcheck.executablePath": {
"description": "Path to the shellcheck executable (builtin binaries will be used if empty).",
"examples": [
"shellcheck"
],
"type": "string",
"scope": "machine-overridable"
},
"shellcheck.run": {
"description": "Whether shellcheck is run on save or on type.",
"type": "string",
"enum": [
"onSave",
"onType",
"manual"
],
"scope": "resource",
"default": "onType"
},
"shellcheck.exclude": {
"markdownDescription": "Exclude certain error codes. For example, to exclude [SC1017](https://shellcheck.net/wiki/SC1017), enter _1017_.\n\nEnumerated error codes can be found [in this gist](https://gist.github.com/nicerobot/53cee11ee0abbdc997661e65b348f375).",
"type": "array",
"items": {
"type": "string",
"pattern": "^(SC)?\\d{4}$",
"patternErrorMessage": "Valid shellcheck error code should be 4-digit numbers, 1017 for example.\n"
},
"scope": "resource",
"default": [],
"examples": [
[
"1017"
]
]
},
"shellcheck.customArgs": {
"markdownDescription": "Custom arguments to pass when calling the `shellcheck` binary.",
"type": "array",
"items": {
"type": "string"
},
"scope": "resource",
"default": [],
"examples": [
[
"--external-sources"
]
]
},
"shellcheck.ignorePatterns": {
"markdownDescription": "Configure glob patterns for excluding files and folders by shellcheck. Glob patterns are interpreted relative to the workspace's root folder.\n\nRead more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).",
"examples": [
{
"**/*.zsh": true,
"**/*.zsh*": true,
"**/.git/*.sh": true,
"**/folder/**/*.sh": true
}
],
"type": "object",
"scope": "resource",
"additionalProperties": {
"anyOf": [
{
"type": "boolean",
"description": "The glob pattern to match file paths against. Set to true or false to enable or disable the pattern."
}
]
},
"default": {
"**/*.xonshrc": true,
"**/*.xsh": true,
"**/*.zsh": true,
"**/*.zshrc": true,
"**/zshrc": true,
"**/*.zprofile": true,
"**/zprofile": true,
"**/*.zlogin": true,
"**/zlogin": true,
"**/*.zlogout": true,
"**/zlogout": true,
"**/*.zshenv": true,
"**/zshenv": true,
"**/*.zsh-theme": true
}
},
"shellcheck.ignoreFileSchemes": {
"description": "Matching file schemes are being ignored by shellcheck.",
"type": "array",
"items": {
"type": "string"
},
"scope": "application",
"default": [
"git",
"gitfs",
"output"
]
},
"shellcheck.useWorkspaceRootAsCwd": {
"description": "Whether to use the workspace root directory as the current working directory when launching ShellCheck.",
"type": "boolean",
"scope": "resource",
"default": false
},
"shellcheck.logLevel": {
"description": "The trace level the extension logs at, defaults to 'info'.",
"type": "string",
"scope": "window",
"enum": [
"trace",
"debug",
"info",
"warn",
"error",
"off"
],
"default": "info"
},
"shellcheck.disableVersionCheck": {
"description": "Whether to disable shellcheck binary version check, which prompt for updating when outdated version found.",
"type": "boolean",
"scope": "application",
"default": false
}
}
}
},
"scripts": {
"prepare": "bindl",
"build": "webpack",
"build:watch": "webpack --watch",
"build:prod": "webpack --mode production --devtool hidden-source-map",
"build:test": "tsc --project tsconfig.test.json",
"build:test:watch": "tsc --project tsconfig.test.json --watch",
"build:all": "run-p build build:test",
"build:all:watch": "run-p build:watch build:test:watch",
"vscode:prepublish": "npm run build:prod",
"package": "vsce package",
"publish": "vsce publish",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"spell": "cspell \"**\"",
"pretest": "npm run build:all",
"test": "node ./out/test/runTest.js",
"posttest": "npm run lint && npm run format:check && npm run spell",
"release": "semantic-release"
},
"dependencies": {
"execa": "^5.0.0",
"lodash": "^4.17.19",
"minimatch": "^5.1.0",
"semver": "^7.3.8"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@types/glob": "^8.0.0",
"@types/lodash": "^4.14.186",
"@types/minimatch": "^5.1.2",
"@types/mocha": "^10.0.0",
"@types/node": "^14.18.32",
"@types/semver": "^7.3.12",
"@types/vscode": "~1.66.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"@vscode/test-electron": "^2.2.0",
"bindl": "^2.0.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"cspell": "^6.12.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"glob": "^8.0.3",
"kind-of": "^6.0.3",
"mocha": "^10.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"semantic-release": "^19.0.5",
"semantic-release-vsce": "^5.2.0",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"engines": {
"vscode": "^1.66.0"
},
"volta": {
"node": "14.20.0",
"npm": "8.18.0"
},
"__metadata": {
"id": "f95d8fff-f70a-4ae5-bb06-5c47ddbc8fc6",
"publisherDisplayName": "Timon Wong",
"publisherId": "04757770-dd50-443e-aae4-e1c7cf9c24f5"
}
}