Skip to content

Commit

Permalink
chore(.vscode): codeActionsOnSave
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Mar 22, 2024
1 parent 2ddf803 commit 8b8cbd0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ size-plugin.json
stats-hydration.json
stats.json
stats.html
.vscode/settings.json

*.log
*.tsbuildinfo
Expand Down
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.workingDirectories": [{ "mode": "auto" }]
}

0 comments on commit 8b8cbd0

Please sign in to comment.