From 12fd91ca4f30880aed4555f3e34d2d3a55799898 Mon Sep 17 00:00:00 2001 From: Mara Kiefer <8320933+mnkiefer@users.noreply.github.com> Date: Thu, 23 Feb 2023 12:39:18 +0100 Subject: [PATCH] Use eslint probe, not validate in VS Code settings - Parsing error as see in issue https://github.tools.sap/cap/issues/issues/13123 - Related to [VS Code ESLint settings options](https://github.com/microsoft/vscode-eslint/blob/main/README.md#settings-options) - Should use `eslint.probe` instead of `eslint.validate` 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"]. eslint.validate - an array of language identifiers specifying the files for which validation is to be enforced. This is an old legacy setting and should in normal cases not be necessary anymore. Defaults to ["javascript", "javascriptreact"]. --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 7ed76f56..6974afb3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,7 +16,7 @@ }, "mochaExplorer.debuggerConfig": "Debug Mocha Tests", "mochaExplorer.parallel": true, - "eslint.validate": [ + "eslint.probe": [ "cds", "csn", "csv",