docs: VS Code config example (#215)
This commit is contained in:
parent
2ed8536b85
commit
1b25322bf5
36
README.md
36
README.md
@ -54,24 +54,24 @@ Add the following settings to your `settings.json`:
|
|||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true,
|
"source.fixAll.eslint": true,
|
||||||
"source.organizeImports": false,
|
"source.organizeImports": false,
|
||||||
|
},
|
||||||
// The following is optional.
|
|
||||||
// It's better to put under project setting `.vscode/settings.json`
|
// The following is optional.
|
||||||
// to avoid conflicts with working with different eslint configs
|
// It's better to put under project setting `.vscode/settings.json`
|
||||||
// that does not support all formats.
|
// to avoid conflicts with working with different eslint configs
|
||||||
"eslint.validate": [
|
// that does not support all formats.
|
||||||
"javascript",
|
"eslint.validate": [
|
||||||
"javascriptreact",
|
"javascript",
|
||||||
"typescript",
|
"javascriptreact",
|
||||||
"typescriptreact",
|
"typescript",
|
||||||
"vue",
|
"typescriptreact",
|
||||||
"html",
|
"vue",
|
||||||
"markdown",
|
"html",
|
||||||
"json",
|
"markdown",
|
||||||
"jsonc",
|
"json",
|
||||||
"yaml"
|
"jsonc",
|
||||||
]
|
"yaml"
|
||||||
}
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user