Repository navigation
docs: correct Lefthook commit message configuration - #1499
Conversation
Updated LEFTHOOK environment variable to be a string.
Confidence Score: 4/5The PR is safe to merge, although the corresponding runnable commitlint example should be updated to avoid retaining conflicting guidance. The changed Markdown now uses the schema-required string value, but users consulting the matching runnable example will still encounter the numeric form this PR intends to correct. Files Needing Attention: docs/examples/commitlint.md and examples/commitlint/lefthook.yml Reviews (1): Last reviewed commit: "fix: correct Lefthook commit message con..." | Re-trigger Greptile |
| run: yarn run cz --hook # Or npx cz --hook | ||
| env: | ||
| LEFTHOOK: 0 | ||
| LEFTHOOK: "0" |
There was a problem hiding this comment.
Commitlint examples remain inconsistent
This correction applies only to the Markdown snippet, while examples/commitlint/lefthook.yml still uses the schema-invalid numeric value LEFTHOOK: 0; users consulting the runnable example therefore continue to receive the conflicting configuration this change is intended to correct.
Closes # (issue)
Context
Incorrect type. Expected "string".
Changes
Updated LEFTHOOK environment variable to be a string.