Skip to content

Lefthook

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • lefthook

  • @arkweid/lefthook

  • @evilmartians/lefthook

Default configuration

{
"lefthook": {
"config": [
"lefthook.yml",
".git/hooks/prepare-commit-msg",
".git/hooks/commit-msg",
".git/hooks/pre-{applypatch,commit,merge-commit,push,rebase,receive}",
".git/hooks/post-{checkout,commit,merge,rewrite}"
]
}
}

Custom config or entry configuration overrides the defaults, they are not merged.

ISC License © 2024 Lars Kappert