Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conform treats comments on the first line in git commits as the header #176

Open
06kellyjac opened this issue May 22, 2020 · 0 comments
Open

Comments

@06kellyjac
Copy link
Contributor

The first line of a commit message is always read as the header even if it's a comment

With a commit template like so:

# Some top comment

# Some bottom comments
# blah blah blah blah blah
# blah blah blah blah blah blah
# blah blah blah

Filling it out for a commit message of:

# Some top comment
feat: something

Some body comment.
Amazing changes x y z

# Some bottom comments
# blah blah blah blah blah
# blah blah blah blah blah blah
# blah blah blah

Conform complains the commit header is # Some top comment which doesn't match conventional commit style

@06kellyjac 06kellyjac changed the title Ignore comments in git commits even on first line Conform treats comments on the first line in git commits as the header May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant