UNPKG

@nozomiishii/lefthook-config

Version:
26 lines (21 loc) 886 B
# @nozomiishii/lefthook-config — recommended preset (preset + fragments) # # This preset is composed of fragments via `extends`. Consumers can either # extend this file as-is, or cherry-pick individual fragments under hooks/. # # @see https://github.com/evilmartians/lefthook # @see https://github.com/nozomiishii/configs/blob/main/packages/lefthook-config/README.md # # Run the command to test: # pnpx lefthook run [-v,--verbose] <hook-name> extends: - node_modules/@nozomiishii/lefthook-config/hooks/commit-msg/commitlint.yaml - node_modules/@nozomiishii/lefthook-config/hooks/post-merge/update-node-modules.yaml - node_modules/@nozomiishii/lefthook-config/hooks/post-merge/cleanup-worktrees-and-branches.yaml - node_modules/@nozomiishii/lefthook-config/hooks/pre-commit/yaml.yaml commit-msg: parallel: true post-merge: parallel: true pre-commit: parallel: true