Skip to content

Conversation

@grypez
Copy link
Contributor

@grypez grypez commented Jan 21, 2026

Runs yarn lint:dependencies after rebase/amend operations to catch unused dependencies in package.json that lint-staged doesn't detect.


Note

Adds git hook to enforce dependency hygiene after history rewrites

  • Introduces post-rewrite in simple-git-hooks to run yarn lint:dependencies, ensuring unused/missing deps are caught after rebase/commit --amend events.
  • No code or runtime changes; tooling-only update in package.json.

Written by Cursor Bugbot for commit 27af396. This will update automatically on new commits. Configure here.

Runs yarn lint:dependencies after rebase/amend operations to catch
unused dependencies in package.json that lint-staged doesn't detect.
@grypez grypez marked this pull request as ready for review January 21, 2026 17:08
@grypez grypez requested a review from a team as a code owner January 21, 2026 17:08
@grypez grypez enabled auto-merge January 21, 2026 17:08
@rekmarks rekmarks self-requested a review January 21, 2026 17:41
Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@grypez grypez added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit 8a2448f Jan 21, 2026
28 checks passed
@grypez grypez deleted the grypez/lint-dependencies-post-rewrite branch January 21, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants