[PR #316] [CLOSED] feat: added eslint rules to handle promises #870

Closed
opened 2026-02-26 19:30:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/316
Author: @adithyaakrishna
Created: 8/28/2023
Status: Closed

Base: feat/refreshHead: chore/doc-312


📝 Commits (8)

  • e8aacb0 feat: added & updated eslint rules
  • 96573a1 feat: updated eslint versions
  • 9dc8a25 feat: updated eslint config
  • e836bda feat: fixed promise errors wrt eslint rules
  • 4378f5d feat: fixed promise errors wrt eslint rules for web app
  • 6a8222a feat: updated eslint configs
  • c34a49c feat: fixed promise errors
  • 480123d feat: updated eslint configs

📊 Changes

41 files changed (+2434 additions, -2445 deletions)

View changed files

📝 .eslintrc.cjs (+6 -0)
📝 apps/marketing/src/app/(marketing)/[content]/page.tsx (+1 -1)
📝 apps/marketing/src/app/(marketing)/blog/[post]/page.tsx (+1 -1)
📝 apps/marketing/src/app/(marketing)/open/page.tsx (+3 -3)
📝 apps/marketing/src/app/(marketing)/page.tsx (+1 -1)
📝 apps/marketing/src/components/(marketing)/claim-plan-dialog.tsx (+4 -2)
📝 apps/marketing/src/components/(marketing)/password-reveal.tsx (+3 -3)
📝 apps/marketing/src/components/(marketing)/widget.tsx (+9 -7)
📝 apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx (+3 -3)
📝 apps/web/src/app/(dashboard)/documents/[id]/loadable-pdf-card.tsx (+2 -2)
📝 apps/web/src/app/(signing)/sign/[token]/form.tsx (+1 -1)
📝 apps/web/src/app/(signing)/sign/[token]/name-field.tsx (+3 -1)
📝 apps/web/src/app/(signing)/sign/[token]/signature-field.tsx (+3 -1)
📝 apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx (+6 -2)
📝 apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx (+5 -3)
📝 apps/web/src/components/(dashboard)/refresh-on-focus/refresh-on-focus.tsx (+1 -0)
📝 apps/web/src/components/(marketing)/claim-plan-dialog.tsx (+4 -2)
📝 apps/web/src/components/(marketing)/password-reveal.tsx (+3 -3)
📝 apps/web/src/components/(marketing)/widget.tsx (+9 -7)
📝 apps/web/src/components/forms/password.tsx (+1 -1)

...and 21 more files

📄 Description

Description:

  • This PR adds eslint rules to handle promises
  • This PR also fixes issues related to promises and their handling

/claim #315


🔄 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/316 **Author:** [@adithyaakrishna](https://github.com/adithyaakrishna) **Created:** 8/28/2023 **Status:** ❌ Closed **Base:** `feat/refresh` ← **Head:** `chore/doc-312` --- ### 📝 Commits (8) - [`e8aacb0`](https://github.com/documenso/documenso/commit/e8aacb05e18c29272fa0ef2c34a2eb225a3a15de) feat: added & updated eslint rules - [`96573a1`](https://github.com/documenso/documenso/commit/96573a1ee1118bacc3f93430182c4119c997c484) feat: updated eslint versions - [`9dc8a25`](https://github.com/documenso/documenso/commit/9dc8a25f7cd10959f5125de470dca6684bda90fa) feat: updated eslint config - [`e836bda`](https://github.com/documenso/documenso/commit/e836bda25a254af85b13249b404632e1706cd612) feat: fixed promise errors wrt eslint rules - [`4378f5d`](https://github.com/documenso/documenso/commit/4378f5d47159fc67a4e5c9f78b560948068279cc) feat: fixed promise errors wrt eslint rules for web app - [`6a8222a`](https://github.com/documenso/documenso/commit/6a8222a087f9ef93cb2b423ae85f09361a348d01) feat: updated eslint configs - [`c34a49c`](https://github.com/documenso/documenso/commit/c34a49c7b750282b1fdc5f04383824a35df5c925) feat: fixed promise errors - [`480123d`](https://github.com/documenso/documenso/commit/480123dbfbd0d65ef22c7752cacb1740cffcf3c5) feat: updated eslint configs ### 📊 Changes **41 files changed** (+2434 additions, -2445 deletions) <details> <summary>View changed files</summary> 📝 `.eslintrc.cjs` (+6 -0) 📝 `apps/marketing/src/app/(marketing)/[content]/page.tsx` (+1 -1) 📝 `apps/marketing/src/app/(marketing)/blog/[post]/page.tsx` (+1 -1) 📝 `apps/marketing/src/app/(marketing)/open/page.tsx` (+3 -3) 📝 `apps/marketing/src/app/(marketing)/page.tsx` (+1 -1) 📝 `apps/marketing/src/components/(marketing)/claim-plan-dialog.tsx` (+4 -2) 📝 `apps/marketing/src/components/(marketing)/password-reveal.tsx` (+3 -3) 📝 `apps/marketing/src/components/(marketing)/widget.tsx` (+9 -7) 📝 `apps/web/src/app/(dashboard)/documents/[id]/edit-document.tsx` (+3 -3) 📝 `apps/web/src/app/(dashboard)/documents/[id]/loadable-pdf-card.tsx` (+2 -2) 📝 `apps/web/src/app/(signing)/sign/[token]/form.tsx` (+1 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/name-field.tsx` (+3 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/signature-field.tsx` (+3 -1) 📝 `apps/web/src/app/(signing)/sign/[token]/signing-field-container.tsx` (+6 -2) 📝 `apps/web/src/components/(dashboard)/layout/profile-dropdown.tsx` (+5 -3) 📝 `apps/web/src/components/(dashboard)/refresh-on-focus/refresh-on-focus.tsx` (+1 -0) 📝 `apps/web/src/components/(marketing)/claim-plan-dialog.tsx` (+4 -2) 📝 `apps/web/src/components/(marketing)/password-reveal.tsx` (+3 -3) 📝 `apps/web/src/components/(marketing)/widget.tsx` (+9 -7) 📝 `apps/web/src/components/forms/password.tsx` (+1 -1) _...and 21 more files_ </details> ### 📄 Description **Description:** - This PR adds `eslint` rules to handle promises - This PR also fixes issues related to promises and their handling /claim #315 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:30:50 +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#870
No description provided.