Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
update eslint editor setting
Browse files Browse the repository at this point in the history
  • Loading branch information
luooooob committed Nov 29, 2021
1 parent a118da2 commit 2f250f7
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,24 @@
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true,
"eslint.format.enable": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"json"
],
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
},
"[json]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
},
}

0 comments on commit 2f250f7

Please sign in to comment.