Skip to content

Commit 7d0af61

Browse files
authored
Add ESLint Node.js runtime config
To avoid issues like this: import-js/eslint-plugin-import#2031 (comment)
1 parent a251539 commit 7d0af61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

macos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"workbench.editor.closeEmptyGroups": false,
123123
"prettier.singleQuote": true,
124124
"prettier.trailingComma": "all",
125+
"eslint.runtime": "/opt/homebrew/bin/node",
125126
```
126127
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.<br><br>
127128
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:<br><br>

0 commit comments

Comments
 (0)