docs: VS Code config example (#215)

This commit is contained in:
Marshall Thompson 2023-07-09 19:02:20 -06:00 committed by GitHub
parent 2ed8536b85
commit 1b25322bf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,24 +54,24 @@ Add the following settings to your `settings.json`:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false,
// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
},
// The following is optional.
// It's better to put under project setting `.vscode/settings.json`
// to avoid conflicts with working with different eslint configs
// that does not support all formats.
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
```