chore: vscode's eslint configuration

This commit is contained in:
Guz013
2023-07-13 16:02:23 -03:00
parent 487ab02c46
commit f8cf407a89

24
.vscode/settings.json vendored
View File

@@ -1,3 +1,25 @@
{
"eslint.experimental.useFlatConfig": true
"eslint.experimental.useFlatConfig": true,
"prettier.enable": false,
"editor.formatOnSave": false,
"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"
]
}