From 1416c225a28ff30b441ed72412bda7d6b83c6359 Mon Sep 17 00:00:00 2001 From: James Murdza Date: Sat, 19 Oct 2024 05:22:42 -0600 Subject: [PATCH] chore: add code formatting settings --- .prettierignore | 4 ++++ .vscode/settings.json | 8 ++++++++ backend/server/.prettierrc | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 .prettierignore create mode 100644 .vscode/settings.json create mode 100644 backend/server/.prettierrc diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..4314ec3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +frontend/** +backend/ai/** +backend/database/** +backend/storage/** \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4b81cce --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "editor.formatOnSave": true, + "editor.formatOnSaveMode": "file", + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } +} diff --git a/backend/server/.prettierrc b/backend/server/.prettierrc new file mode 100644 index 0000000..c2e595e --- /dev/null +++ b/backend/server/.prettierrc @@ -0,0 +1,6 @@ +{ + "tabWidth": 2, + "semi": false, + "singleQuote": false, + "insertFinalNewline": true +} \ No newline at end of file