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

This configuration is added automatically if the plugin is enabled:

{
"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}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert