From 9aecfd46ec2aab36f888b071a526a7d8ebf9cb2e Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Mon, 8 Jul 2024 14:48:51 +0200 Subject: [PATCH] Update execArgv setting --- README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc74a33c..8309a049 100644 --- a/README.md +++ b/README.md @@ -254,7 +254,7 @@ This extension contributes the following variables to the [settings](https://cod - `eslint.run` - run the linter `onSave` or `onType`, default is `onType`. - `eslint.quiet` - ignore warnings. - `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. -- `eslint.execArgv` - use this setting to pass additional arguments to the node runtime like `--max_old_space_size=4096` +- `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). - `eslint.nodeEnv` - use this setting if an ESLint plugin or configuration needs `process.env.NODE_ENV` to be defined. - `eslint.nodePath` - use this setting if an installed ESLint package can't be detected, for example `/myGlobalNodePackages/node_modules`. - `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"]`. diff --git a/package-lock.json b/package-lock.json index ea8e5088..4b9bec36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-eslint", - "version": "3.0.10", + "version": "3.0.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-eslint", - "version": "3.0.10", + "version": "3.0.11", "hasInstallScript": true, "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index 9e5ba6a0..1822493b 100644 --- a/package.json +++ b/package.json @@ -368,7 +368,7 @@ } ], "default": null, - "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" + "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)." }, "eslint.debug": { "scope": "window",