
Pros
Cons
Lefthook is completely free to use with no hidden costs.
No reviews yet. Be the first to review Lefthook!
Top alternatives based on features, pricing, and user needs.
stage_fixed: true option within job configurations. When enabled, if a tool like a linter or formatter modifies staged files, Lefthook automatically re-stages those changes before the commit proceeds, ensuring that all fixes are included in the current commit.glob pattern. This allows you to specify that yarn run stylelint should only run on *.css files, while yarn run eslint runs on *.ts, *.js, *.tsx, and *.jsx files, all within the same pre-commit hook.parallel: true option at the hook level. When set, all jobs defined under that hook will execute concurrently, which can significantly reduce the total time required for the hook to complete, especially when dealing with multiple independent tasks.Source: evilmartians.github.io