Skip to content

Commit

Permalink
Added VS code auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
robdmoore committed Sep 11, 2023
1 parent 01d091b commit 935ac45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ dist

# Stores VSCode versions used for testing VSCode extensions
.vscode-test
.vscode
#.vscode

# yarn v2
.yarn/cache
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ dist

# Stores VSCode versions used for testing VSCode extensions
.vscode-test
.vscode
#.vscode

# yarn v2
.yarn/cache
Expand Down
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}

0 comments on commit 935ac45

Please sign in to comment.