You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, and --external-sources (if shellcheckExternalSources is true).
28
33
shellcheckArguments: z
29
34
.preprocess((arg)=>{
30
35
letargsList: string[]=[]
@@ -87,6 +92,7 @@ export function getConfigFromEnvironmentVariables(): {
Copy file name to clipboardExpand all lines: vscode-client/package.json
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,15 @@
73
73
"default": "shellcheck",
74
74
"description": "Controls the executable used for ShellCheck linting information. An empty string will disable linting."
75
75
},
76
+
"bashIde.shellcheckExternalSources": {
77
+
"type": "boolean",
78
+
"default": true,
79
+
"description": "Controls whether ShellCheck is invoked with --external-sources. When enabled (default), ShellCheck follows source directives to lint referenced files. On projects with many cross-sourcing scripts this can cause unbounded memory growth. Set to false to disable."
80
+
},
76
81
"bashIde.shellcheckArguments": {
77
82
"type": "string",
78
83
"default": "",
79
-
"description": "Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, --external-sources."
84
+
"description": "Additional ShellCheck arguments. Note that we already add the following arguments: --shell, --format, and --external-sources (if shellcheckExternalSources is true)."
0 commit comments