[PR #33] [CLOSED] Add prettier #721

Closed
opened 2026-02-26 18:48:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/33
Author: @ephraimduncan
Created: 3/28/2023
Status: Closed

Base: mainHead: config


📝 Commits (3)

  • 0be5ba2 Add prettier
  • d864567 Prettify all the files with the new prettier config
  • 5e69c4f Merge branch 'main' into config

📊 Changes

91 files changed (+1913 additions, -913 deletions)

View changed files

📝 .vscode/settings.json (+1 -1)
📝 apps/web/components/editor/editable-field.tsx (+9 -11)
📝 apps/web/components/editor/field-type-selector.tsx (+7 -9)
📝 apps/web/components/editor/pdf-editor.tsx (+11 -13)
📝 apps/web/components/editor/pdf-signer.tsx (+15 -17)
📝 apps/web/components/editor/pdf-viewer.jsx (+9 -15)
📝 apps/web/components/editor/recipient-selector.tsx (+9 -13)
📝 apps/web/components/editor/signable-field.tsx (+9 -11)
📝 apps/web/components/editor/signature-dialog.tsx (+21 -30)
📝 apps/web/components/layout.tsx (+1 -2)
📝 apps/web/components/login.tsx (+15 -21)
📝 apps/web/components/logo.tsx (+6 -7)
📝 apps/web/components/navigation.tsx (+34 -37)
📝 apps/web/components/settings.tsx (+18 -24)
📝 apps/web/components/signup.tsx (+8 -13)
📝 apps/web/pages/404.jsx (+7 -9)
📝 apps/web/pages/500.jsx (+6 -6)
📝 apps/web/pages/_app.tsx (+7 -6)
📝 apps/web/pages/_document.jsx (+2 -3)
📝 apps/web/pages/api/auth/[...nextauth].ts (+4 -4)

...and 71 more files

📄 Description

  • Add prettier to enforce consistent code formatting across the codebase
  • Use @trivago/prettier-plugin-sort-imports to enforce consistent import patterns
  • Use prettier-plugin-tailwindcss for consistent tailwind classes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/33 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 3/28/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `config` --- ### 📝 Commits (3) - [`0be5ba2`](https://github.com/documenso/documenso/commit/0be5ba2bd494c1d6376c80ddc9a80c559475dd24) Add prettier - [`d864567`](https://github.com/documenso/documenso/commit/d864567e017066ad3b5d1919d92611aaf682307b) Prettify all the files with the new prettier config - [`5e69c4f`](https://github.com/documenso/documenso/commit/5e69c4ff8698e75057ec1e2fef89cf7d1b0e1a30) Merge branch 'main' into config ### 📊 Changes **91 files changed** (+1913 additions, -913 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/settings.json` (+1 -1) 📝 `apps/web/components/editor/editable-field.tsx` (+9 -11) 📝 `apps/web/components/editor/field-type-selector.tsx` (+7 -9) 📝 `apps/web/components/editor/pdf-editor.tsx` (+11 -13) 📝 `apps/web/components/editor/pdf-signer.tsx` (+15 -17) 📝 `apps/web/components/editor/pdf-viewer.jsx` (+9 -15) 📝 `apps/web/components/editor/recipient-selector.tsx` (+9 -13) 📝 `apps/web/components/editor/signable-field.tsx` (+9 -11) 📝 `apps/web/components/editor/signature-dialog.tsx` (+21 -30) 📝 `apps/web/components/layout.tsx` (+1 -2) 📝 `apps/web/components/login.tsx` (+15 -21) 📝 `apps/web/components/logo.tsx` (+6 -7) 📝 `apps/web/components/navigation.tsx` (+34 -37) 📝 `apps/web/components/settings.tsx` (+18 -24) 📝 `apps/web/components/signup.tsx` (+8 -13) 📝 `apps/web/pages/404.jsx` (+7 -9) 📝 `apps/web/pages/500.jsx` (+6 -6) 📝 `apps/web/pages/_app.tsx` (+7 -6) 📝 `apps/web/pages/_document.jsx` (+2 -3) 📝 `apps/web/pages/api/auth/[...nextauth].ts` (+4 -4) _...and 71 more files_ </details> ### 📄 Description - Add prettier to enforce consistent code formatting across the codebase - Use `@trivago/prettier-plugin-sort-imports` to enforce consistent import patterns - Use `prettier-plugin-tailwindcss` for consistent tailwind classes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:48:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#721
No description provided.