[PR #1008] [MERGED] fix: eslint config file parseOptions.project path is updated #1317

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1008
Author: @rohit-saluja
Created: 3/8/2024
Status: Merged
Merged: 3/10/2024
Merged by: @Mythie

Base: mainHead: speed-up-eslint-precommit-checks#1002


📝 Commits (1)

  • 3b5f8d1 fix: eslint config file parseOptions.project path is updated

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 packages/eslint-config/index.cjs (+1 -1)
tsconfig.eslint.json (+4 -0)

📄 Description

I found out that the problem of slow down is the use of parseOption.project with multiple tsconfig files which increases usage of memory consumption quite a lot.

Here is the reference I found to resolve this issue:

reference link
Doc link

Based on this reference I created the solution and tested out locally it does reduce the eslint time.

#1002


🔄 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/1008 **Author:** [@rohit-saluja](https://github.com/rohit-saluja) **Created:** 3/8/2024 **Status:** ✅ Merged **Merged:** 3/10/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `speed-up-eslint-precommit-checks#1002` --- ### 📝 Commits (1) - [`3b5f8d1`](https://github.com/documenso/documenso/commit/3b5f8d149af7d65a08fb972f997e44dce725ad14) fix: eslint config file parseOptions.project path is updated ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/eslint-config/index.cjs` (+1 -1) ➕ `tsconfig.eslint.json` (+4 -0) </details> ### 📄 Description I found out that the problem of slow down is the use of parseOption.project with multiple tsconfig files which increases usage of memory consumption quite a lot. Here is the reference I found to resolve this issue: [reference link](https://github.com/typescript-eslint/typescript-eslint/issues/1192) [Doc link](https://typescript-eslint.io/getting-started/typed-linting/monorepos/) Based on this reference I created the solution and tested out locally it does reduce the eslint time. #1002 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:45 +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#1317
No description provided.