Skip to content

Commit 9aecfd4

Browse files
committed
Update execArgv setting
1 parent edc9685 commit 9aecfd4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ This extension contributes the following variables to the [settings](https://cod
254254
- `eslint.run` - run the linter `onSave` or `onType`, default is `onType`.
255255
- `eslint.quiet` - ignore warnings.
256256
- `eslint.runtime` - use this setting to set the path of the node runtime to run ESLint under. [Use `"node"`](https://github.com/microsoft/vscode-eslint/issues/1233#issuecomment-815521280) if you want to use your default system version of node.
257-
- `eslint.execArgv` - use this setting to pass additional arguments to the node runtime like `--max_old_space_size=4096`
257+
- `eslint.execArgv` - use this setting to pass additional arguments to the node runtime like `--max_old_space_size=4096`. Please note that VS Code's NodeJS runtime uses a compact heap, which limits the heap size to 4 GB. If you want to increase the heap size beyond 4 GB, you need to use a custom NodeJS runtime (see the eslint.runtime setting).
258258
- `eslint.nodeEnv` - use this setting if an ESLint plugin or configuration needs `process.env.NODE_ENV` to be defined.
259259
- `eslint.nodePath` - use this setting if an installed ESLint package can't be detected, for example `/myGlobalNodePackages/node_modules`.
260260
- `eslint.probe` - an array for language identifiers for which the ESLint extension should be activated and should try to validate the file. If validation fails for probed languages the extension says silent. Defaults to `["javascript", "javascriptreact", "typescript", "typescriptreact", "html", "vue", "markdown"]`.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
}
369369
],
370370
"default": null,
371-
"markdownDescription": "Additional exec argv argument passed to the runtime. This can for example be used to control the maximum heap space using --max_old_space_size"
371+
"markdownDescription": "Additional exec argv argument passed to the runtime. This can for example be used to control the maximum heap space using --max_old_space_size. Please note that VS Code's NodeJS runtime uses a compact heap, which limits the heap size to 4 GB. If you want to increase the heap size beyond 4 GB, you need to use a custom NodeJS runtime (see the eslint.runtime setting)."
372372
},
373373
"eslint.debug": {
374374
"scope": "window",

0 commit comments

Comments
 (0)