Skip to content

Commit 5348757

Browse files
committed
docs: VSCode
1 parent bfe9614 commit 5348757

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,23 @@ const sqlitePlugin = createSqlitePlugin({
4141
export default [sqlitePlugin.configs.recommended];
4242
```
4343
44+
## Editor support
45+
46+
### VSCode
47+
48+
By default the ESLint extension for VSCode uses the Node.js version
49+
included with VSCode, if that version isn't the same major version
50+
as the one used by your project then you need to configure the extension
51+
to use the version of Node.js that your project uses.
52+
53+
You can do that by adding the following to your `.vscode/settings.json` file:
54+
55+
```json
56+
{
57+
"eslint.runtime": "node"
58+
}
59+
```
60+
4461
## Rules
4562
4663
### valid-query

0 commit comments

Comments
 (0)