lefthook
lefthook copied to clipboard
Fast and powerful Git hooks manager for any type of projects.
### :zap: Summary IIUC, currently stage_fixed only affects the files originally in the glob. I'm trying to use lefthook for code/documentation generation, and so some steps create/modify files not part...
### :wrench: Summary If file names contains some utf8 (I guess) characters, lefthook fails because of invalid escaping. ``` error replacing {staged_files}: CreateFile C:\code\repro\lefthook-wrong-escape\"files\KO \303\251.json": La syntaxe du nom de...
### :zap: Summary As far as I could see, the `run` documentation doesn't explain what the value for that configuration is beyond a "command", nor how Lefthook actually runs it,...
### :zap: Summary Allow to skip a hook (or individual command) if the commit message matches a certain pattern. ### Value I like using `cog verify` (cf. [cocogitto/cocogitto](https://github.com/cocogitto/cocogitto)) as part...
### :zap: Summary Instead of using `@{push}` or `HEAD -> ...` ref for getting files diffs, use the latest pushed commit hash on the current branch. And `HEAD -> ...`...
### :zap: Summary ```yml base_branch: develop pre-push: commands: lint: run: yarn lint {push_files} ``` ### Value 1. Default branch is develop 2. You create a new branch from develop 3....
Closes https://github.com/evilmartians/lefthook/discussions/852 **:zap: Summary** Support globs in `extends` option. - [x] Expand the possible globs before extending the main config - [x] Add tests Probably need to change checksum check...
### :zap: Summary Would good to have `parallel: true` work with priorities. ### Value Faster runs containing priorities (~ dependencies). ### Behavior and configuration changes For example: ```yaml foo: parallel:...
### :zap: Summary Star building lefthook package for Alpine Linux and push it to the core packages ### Value For those who uses Alpine Linux and want to use lefthook...