Skip to content

validate-commit-msg: enforce types/scopes/refs by default #58

@gerchowl

Description

@gerchowl

cc @c-vigo

Suggestion: validate-commit-msg should ship with types, scopes, and refs enforced by default (strict-by-default) instead of being opt-in via commented-out CLI args.

Why: Users won't discover commented-out config. If enforcement is on by default, they experience the value immediately. The pre-commit error message can link to .pre-commit-config.yaml with a "customize or disable" hint — easy opt-out beats invisible opt-in.

TL;DR: Default strict → show config path in error → users discover greatness, can relax if needed.

Ref: .pre-commit-config.yaml lines 120–126.

Metadata

Metadata

Assignees

Labels

area:workflowDeveloper workflow, commands, rules, skillseffort:smallLess than 1 hourfeatureNew feature or requestpriority:mediumImportant but not urgentsemver:minorNew feature, backward-compatible

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions