From 034afa5780e65b81fbaf14016a0874bc645b192d Mon Sep 17 00:00:00 2001 From: davidsoniaudin2-oss Date: Mon, 27 Jul 2026 17:22:18 +0000 Subject: [PATCH] style: standardize Prettier configuration across frontend and backend Add .prettierrc to frontend matching backend config. Update .prettierignore with standard patterns. Both projects now use consistent formatting rules. Closes #977 --- frontend/.prettierignore | 11 +++++++++++ frontend/.prettierrc | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 frontend/.prettierrc diff --git a/frontend/.prettierignore b/frontend/.prettierignore index cc53551a..6644eb33 100644 --- a/frontend/.prettierignore +++ b/frontend/.prettierignore @@ -1,2 +1,13 @@ +# Build output +.next/ +dist/ + +# Dependencies +node_modules/ + +# Generated +.next/ + +# Large generated/third-party files src/components/rewards/RewardsDashboard.tsx src/components/subscriptions/SubscriptionDashboard.tsx diff --git a/frontend/.prettierrc b/frontend/.prettierrc new file mode 100644 index 00000000..94eda79c --- /dev/null +++ b/frontend/.prettierrc @@ -0,0 +1,13 @@ +{ + "semi": true, + "trailingComma": "es5", + "singleQuote": true, + "printWidth": 100, + "tabWidth": 2, + "useTabs": false, + "quoteProps": "as-needed", + "bracketSpacing": true, + "bracketSameLine": false, + "arrowParens": "always", + "endOfLine": "lf" +}