chore: fix vscode format on save not working automatically
This commit is contained in:
1 parent
519ba0e62e
commit
9694d40a4a
1 file changed
+15
-11
Vendored
+15
-11
@@ -1,21 +1,25 @@
|
|||||||
{
|
{
|
||||||
"workbench.settings.useSplitJSON": true,
|
"workbench.settings.useSplitJSON": true,
|
||||||
|
"eslint.format.enable": true,
|
||||||
|
"eslint.lintTask.enable": false,
|
||||||
"eslint.codeActionsOnSave.rules": null,
|
"eslint.codeActionsOnSave.rules": null,
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": "explicit"
|
"source.fixAll.eslint": "explicit"
|
||||||
},
|
},
|
||||||
"eslint.validate": [
|
"eslint.validate": ["javascript", "vue"],
|
||||||
"javascript"
|
|
||||||
],
|
|
||||||
"eslint.workingDirectories": [
|
|
||||||
{
|
|
||||||
"mode": "auto"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"emmet.syntaxProfiles": {},
|
|
||||||
"files.autoSave": "afterDelay",
|
"files.autoSave": "afterDelay",
|
||||||
|
"editor.formatOnSave": true,
|
||||||
"editor.wordWrap": "on",
|
"editor.wordWrap": "on",
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.formatOnSave": true,
|
"[javascript]": {
|
||||||
"editor.tabSize": 2
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"editor.tabSize": 2,
|
||||||
|
"prettier.embeddedLanguageFormatting": "off",
|
||||||
|
"prettier.enable": true,
|
||||||
|
"files.associations": {
|
||||||
|
"*.mjs": "javascript",
|
||||||
|
"*.cjs": "javascript",
|
||||||
|
"*.mts": "typescript"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user