Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install lefthook #527

Merged
merged 1 commit into from Apr 5, 2024
Merged

Install lefthook #527

merged 1 commit into from Apr 5, 2024

Conversation

FloEdelmann
Copy link
Owner

See https://github.com/evilmartians/lefthook.

Advantages over https://github.com/typicode/husky + https://github.com/lint-staged/lint-staged

  • only one dependency instead of two
  • lefthook runs commands in parallel (but maybe lint-staged does that, too?)
  • lefthook is built with Go and thus is fast (but probably husky+lint-staged would be fast enough)
  • single configuration file (lefthook.yaml) rather than .husky directory with individual file for each hook + lint-staged section in package.json

@FloEdelmann FloEdelmann merged commit 4beab73 into main Apr 5, 2024
8 checks passed
@FloEdelmann FloEdelmann deleted the lefthook branch April 5, 2024 16:39
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.

None yet

1 participant