lefthook
lefthook copied to clipboard
Fast and powerful Git hooks manager for any type of projects.
I run `yarn upgrade` every day Since `0.7.5` maybe due to https://github.com/evilmartians/lefthook/pull/184/files#diff-7733b4a9c49683a0e815d9a617050a5549df9945bcb92d8008cb7009f34aa19d The postinstall script is run every time (i.e. `lefthook install -f`) on `yarn upgrade` I have a customized...
Hello, Context: * Windows 10 * Build 0.6.5 downloaded from github `lefthook_0.6.5_Windows_x86_64.zip` Problem: `lefthook.exe version` should return the current version. ### Actual behavior In a non git repo. without `lefthook.yml`,...
This came as a reply to a discussion started in #189: > From the one hand I think that we don't need excess files in GitHub releases If excessive number...
When rebasing, lefthook appears to be re-installing itself on every commit. I see a lot of console output that looks like this: ``` /Users/holodakg/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/lefthook-0.6.7/libexec/lefthook-mac install /Users/holodakg/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/lefthook-0.6.7/libexec/lefthook-mac run prepare-commit-msg .git/COMMIT_EDITMSG message...
I'm macOS user and installed lefthook by gem in ruby 2.7.1 I use lefthook in my project symlinked from $HOME/Project to $HOME like this: ```sh me@local:~/Projects$ ls -l project_name lrwxr-xr-x...
Hello everyone! I have little issue connected wtih lefthook. Some information: 1. NodeJS envoirement 2. Version **"@arkweid/lefthook": "^0.7.2"** 3. My lefthook.yml contains next content `pre-push: commands: test: run: npx cypress...
My config ```yml pre-commit: parallel: true commands: eslint: glob: "*.{js,jsx}" run: npx eslint {staged_files} --fix && git add {staged_files}` In that case where eslint fixes style rules and diff stand...
There's too much noise: ``` Lefthook v0.6.3 RUNNING HOOKS GROUP: pre-commit EXECUTE > yamllint (SKIP. NO FILES FOR INSPECTING) EXECUTE > jsonnet-fmt (SKIP. NO FILES FOR INSPECTING) EXECUTE > vault-policy-fmt...
According to the git hooks documentation, pre-push receives a line of input from stdin, which gives the branch names: > This hook is called by git-push[1] and can be used...
While executing on WSL getting an issue: `fork/exec /bin/sh: invalid argument` config example: ```yaml pre-commit: commands: eslint: tags: frontend lint run: yarn eslint