[PR #9010] [CLOSED] chore: remove lefthook configuration and related setup #16614

Closed
opened 2026-04-13 10:36:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9010
Author: @MuzzaiyyanHussain
Created: 4/7/2026
Status: Closed

Base: mainHead: chore/remove-lefthook


📝 Commits (1)

  • 16b4779 chore: remove lefthook configuration and related setup

📊 Changes

4 files changed (+193 additions, -262 deletions)

View changed files

lefthook.yml (+0 -21)
📝 package.json (+0 -2)
📝 pnpm-lock.yaml (+193 -238)
📝 pnpm-workspace.yaml (+0 -1)

📄 Description

Remove Lefthook and simplify git hook setup

Changes

  • Removed lefthook.yml configuration file
  • Removed Lefthook from package.json (dependency and prepare script)
  • Cleaned up Lefthook references from pnpm-workspace.yaml
  • Updated pnpm-lock.yaml to remove all Lefthook-related packages

Why

  • Pre-commit hooks were slow (~30s per commit)
  • Hooks interfered with workflows like rebasing and commit automation
  • CI is better suited for running linting and build checks

Notes

  • CI workflows remain unchanged and continue to handle validation
  • Lefthook-related files found in .git/hooks and node_modules are local and not tracked by the repository

Let me know if anything else should be cleaned up

Fixes #8997


Summary by cubic

Removed lefthook and all related config to simplify git hooks and speed up commits, relying on CI for checks. Fixes #8997.

  • Refactors
    • Deleted lefthook.yml.
    • Removed lefthook dep and prepare script from package.json.
    • Dropped lefthook from pnpm-workspace.yaml onlyBuiltDependencies.
    • Pruned Lefthook entries from pnpm-lock.yaml.

Written for commit 16b47790c7. Summary will update on new commits.


🔄 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/better-auth/better-auth/pull/9010 **Author:** [@MuzzaiyyanHussain](https://github.com/MuzzaiyyanHussain) **Created:** 4/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/remove-lefthook` --- ### 📝 Commits (1) - [`16b4779`](https://github.com/better-auth/better-auth/commit/16b47790c7cf480c9b6996e799d1efc33c3dee94) chore: remove lefthook configuration and related setup ### 📊 Changes **4 files changed** (+193 additions, -262 deletions) <details> <summary>View changed files</summary> ➖ `lefthook.yml` (+0 -21) 📝 `package.json` (+0 -2) 📝 `pnpm-lock.yaml` (+193 -238) 📝 `pnpm-workspace.yaml` (+0 -1) </details> ### 📄 Description ## Remove Lefthook and simplify git hook setup ### Changes * Removed `lefthook.yml` configuration file * Removed Lefthook from `package.json` (dependency and prepare script) * Cleaned up Lefthook references from `pnpm-workspace.yaml` * Updated `pnpm-lock.yaml` to remove all Lefthook-related packages ### Why * Pre-commit hooks were slow (~30s per commit) * Hooks interfered with workflows like rebasing and commit automation * CI is better suited for running linting and build checks ### Notes * CI workflows remain unchanged and continue to handle validation * Lefthook-related files found in `.git/hooks` and `node_modules` are local and not tracked by the repository Let me know if anything else should be cleaned up Fixes #8997 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removed `lefthook` and all related config to simplify git hooks and speed up commits, relying on CI for checks. Fixes #8997. - **Refactors** - Deleted `lefthook.yml`. - Removed `lefthook` dep and `prepare` script from `package.json`. - Dropped `lefthook` from `pnpm-workspace.yaml` `onlyBuiltDependencies`. - Pruned Lefthook entries from `pnpm-lock.yaml`. <sup>Written for commit 16b47790c7cf480c9b6996e799d1efc33c3dee94. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 10:36:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16614