[PR #344] [MERGED] chore: add some eslint rules #896

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/344
Author: @G3root
Created: 9/4/2023
Status: Merged
Merged: 11/14/2023
Merged by: @Mythie

Base: feat/refreshHead: eslint-plugins


📝 Commits (10+)

📊 Changes

11 files changed (+264 additions, -77 deletions)

View changed files

.prettierignore (+16 -0)
📝 apps/marketing/package.json (+1 -0)
📝 apps/web/package.json (+1 -0)
📝 package-lock.json (+209 -70)
📝 package.json (+1 -0)
📝 packages/eslint-config/index.cjs (+23 -5)
📝 packages/eslint-config/package.json (+1 -0)
📝 packages/lib/package.json (+2 -0)
📝 packages/trpc/package.json (+2 -0)
📝 packages/ui/package.json (+2 -1)
📝 turbo.json (+6 -1)

📄 Description

What this PR do ?

  • Enforces explicit type imports (this should help with unnecessary bundling of some imports while using as a type)
  • add auto fix for the unused imports
  • added a script for eslint fix
  • added a prettier ignore file

🔄 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/344 **Author:** [@G3root](https://github.com/G3root) **Created:** 9/4/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `eslint-plugins` --- ### 📝 Commits (10+) - [`96fa514`](https://github.com/documenso/documenso/commit/96fa51452aebde92ed638efea1985b71f41ade68) chore: add eslint plugins - [`8e6fc78`](https://github.com/documenso/documenso/commit/8e6fc78e6c7f677e899ed0894cd49ad1c5b73511) chore: add prettier ignore - [`4a980dc`](https://github.com/documenso/documenso/commit/4a980dcb0643fad109c6e8e024d4606b3623a7fe) chore: add lint:fix command - [`be2c702`](https://github.com/documenso/documenso/commit/be2c7024a6af63b8dfda48663d5a02ad84c13486) feat: add consistent type imports - [`1e614ce`](https://github.com/documenso/documenso/commit/1e614ceac6aefebb0b071fb444e6e3c4bea28837) chore: remove plugin import - [`49983ad`](https://github.com/documenso/documenso/commit/49983ad22457ff9d697ae0653b429fcfaa0c4190) chore: add rules - [`7b4242f`](https://github.com/documenso/documenso/commit/7b4242f89c0e211808dc436ff596e4f69e8b6802) chore: fix - [`0672b31`](https://github.com/documenso/documenso/commit/0672b31779640ca25f4f990aa7bcb37247c4a6f3) fix: lint script - [`d91aab6`](https://github.com/documenso/documenso/commit/d91aab69adb9db8185797e09e0beb3f6260d4fea) chore: reorder scripts - [`0f63a70`](https://github.com/documenso/documenso/commit/0f63a7089a5593ca8978069457d39d189b93d1de) chore: reorder scripts ### 📊 Changes **11 files changed** (+264 additions, -77 deletions) <details> <summary>View changed files</summary> ➕ `.prettierignore` (+16 -0) 📝 `apps/marketing/package.json` (+1 -0) 📝 `apps/web/package.json` (+1 -0) 📝 `package-lock.json` (+209 -70) 📝 `package.json` (+1 -0) 📝 `packages/eslint-config/index.cjs` (+23 -5) 📝 `packages/eslint-config/package.json` (+1 -0) 📝 `packages/lib/package.json` (+2 -0) 📝 `packages/trpc/package.json` (+2 -0) 📝 `packages/ui/package.json` (+2 -1) 📝 `turbo.json` (+6 -1) </details> ### 📄 Description ## What this PR do ? - Enforces explicit type imports (this should help with unnecessary bundling of some imports while using as a type) - add auto fix for the unused imports - added a script for eslint fix - added a prettier ignore file --- <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:57 +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#896
No description provided.