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

Permit --fixup and --squash commits #8

Open
danbernier opened this issue Sep 20, 2022 · 1 comment
Open

Permit --fixup and --squash commits #8

danbernier opened this issue Sep 20, 2022 · 1 comment

Comments

@danbernier
Copy link

commitlint currently fails the messages auto-generated by git for --fixup and --squash commits.

I think commitlint should always permit these commit messages.

Since the point of these commits is to be rebased into other commits, their messages won't be in the commit history for terribly long. And they're already an established part of the git ecosystem.

I'm currently working around this by using -n every time I --fixup, but it's a friction point each time I forget.

@gumbo2k
Copy link

gumbo2k commented Jul 16, 2024

Seems like this will have the same solution as #10 .. a whitelist of regex that, when matching the commit's first line, mark this commit message as OK.

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

2 participants