[PR #548] [MERGED] fix(pre-commit): added lint staged to install and add all packages from package.json and add to commit #1038

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/548
Author: @adityadeshlahre
Created: 10/9/2023
Status: Merged
Merged: 12/9/2023
Merged by: @Mythie

Base: feat/refreshHead: lint-staged-npm-install


📝 Commits (7)

  • 8f11efe fix(lintstaged): lint-staged to achive npm install before commit
  • 3ab763f fix(lint-staged): nesting fix and more specified towards package.json
  • c63419d Merge branch 'feat/refresh' into lint-staged-npm-install
  • d3488e4 Merge branch 'feat/refresh' into lint-staged-npm-install
  • c616864 Merge branch 'feat/refresh' into lint-staged-npm-install
  • e5fa6d7 fix(lint-stage): eol added
  • ed2db76 fix: update lint-staged

📊 Changes

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

View changed files

📝 lint-staged.config.cjs (+1 -0)
📝 package.json (+2 -1)

📄 Description

Fix #546
Sorry for late PR i was stuck in some permission issue with files !
This might be the best solution !
NOTE : I will edit the readme.md file after suggestions from maintainers.

if any changes required let me know.
Thank you

SCRIPT : precommit runs before commit. [As shown in image below]
image


🔄 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/548 **Author:** [@adityadeshlahre](https://github.com/adityadeshlahre) **Created:** 10/9/2023 **Status:** ✅ Merged **Merged:** 12/9/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `feat/refresh` ← **Head:** `lint-staged-npm-install` --- ### 📝 Commits (7) - [`8f11efe`](https://github.com/documenso/documenso/commit/8f11efef896196fde495071603f3b7ef596bda6e) fix(lintstaged): lint-staged to achive npm install before commit - [`3ab763f`](https://github.com/documenso/documenso/commit/3ab763faaf7666f54f5778e31a98cb01511cf627) fix(lint-staged): nesting fix and more specified towards package.json - [`c63419d`](https://github.com/documenso/documenso/commit/c63419df07318abf55dd0dd3570b25454a37e13a) Merge branch 'feat/refresh' into lint-staged-npm-install - [`d3488e4`](https://github.com/documenso/documenso/commit/d3488e4e69d1d3d8a720e0d19676e3949219c1ed) Merge branch 'feat/refresh' into lint-staged-npm-install - [`c616864`](https://github.com/documenso/documenso/commit/c61686499ee8fe6c4ca89666c5b9c330d264a033) Merge branch 'feat/refresh' into lint-staged-npm-install - [`e5fa6d7`](https://github.com/documenso/documenso/commit/e5fa6d78e00ca9fe7c7834c1d3b7ca2fe2a2fee6) fix(lint-stage): eol added - [`ed2db76`](https://github.com/documenso/documenso/commit/ed2db767c619cf01d1b14a5cfe27ccd777b38279) fix: update lint-staged ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lint-staged.config.cjs` (+1 -0) 📝 `package.json` (+2 -1) </details> ### 📄 Description Fix #546 Sorry for late PR i was stuck in some permission issue with files ! This might be the best solution ! **NOTE : I will edit the readme.md file after suggestions from maintainers.** if any changes required let me know. Thank you **SCRIPT : precommit runs before commit. [As shown in image below]** ![image](https://github.com/documenso/documenso/assets/132184385/ea945e0a-ac60-4903-8fa2-5b93a995ecfe) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:34 +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#1038
No description provided.