Skip to content

Commit

Permalink
vscode: ESLint format on save
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbinoGeek committed Apr 20, 2022
1 parent 1e4b50c commit 7f002d1
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
// "editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": false,
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[typescriptreact]": {
// "editor.defaultFormatter": "vscode.typescript-language-features"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
}

0 comments on commit 7f002d1

Please sign in to comment.