From 7d0af616744caa88dd43dcdb4c40a37b633cba65 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 30 Apr 2021 17:57:21 +0200 Subject: [PATCH] Add ESLint Node.js runtime config To avoid issues like this: https://github.com/benmosher/eslint-plugin-import/issues/2031#issuecomment-826160498 --- macos.md | 1 + 1 file changed, 1 insertion(+) diff --git a/macos.md b/macos.md index 6629e5f..eb18b17 100644 --- a/macos.md +++ b/macos.md @@ -122,6 +122,7 @@ "workbench.editor.closeEmptyGroups": false, "prettier.singleQuote": true, "prettier.trailingComma": "all", + "eslint.runtime": "/opt/homebrew/bin/node", ``` If you had any previous settings beforehand, you may notice that some text above will be underlined by a squiggly yellow line. This is a warning because we pasted some duplicate properties from the code above.

If you have any of these warnings, we should fix them. For each one of these lines with the warnings on them, delete the full line, including the comma at the end. We usually like to select from the start of the first `"` to just before the next `"` on the next line: