Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why not square bracket scope by default? #1085

Closed
UncleGoogle started this conversation in General
Discussion options

Hello! I'm new here.

I've just installed pre-commit hook and I enjoy it uses conventional commits by default.

The question:

Why the default commit message pattern uses brackets ( ) instead of square brakcets [ ] for the optional scope? In the conventional commits there is a latter used: https://www.conventionalcommits.org/en/v1.0.0/

What about changing this behavior in a next major (or minor?) release?

You must be logged in to vote

Replies: 1 comment

Comment options

Ah never mind, I read the example on the conventionalcommits wrongly. There is a normal bracket there :)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /