@exile-watch/lefthook-config
Shared Lefthook configuration for exile.watch projects
Last updated
Shared Lefthook configuration for exile.watch projects
Last updated
Dedicated blog post: Leveraging Lefthook to enforce commit guidelines at exile.watch
This package contains shared Lefthook configuration, Lefthook dependency and commit-related dependencies.
Lefthook is a Git hooks manager for Node.js, Ruby and many other types of projects.
Install the package as a devDependency
:
Add/update following config
and scripts
properties in repo's root package.json
:
Create a new configuration file at ./commitlint.config.js
and inherit all the options using extends
property:
In project root in lefthook.yml
replace generated content with: