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

Enforce revert commit format #833

Open
ZachJW34 opened this issue Oct 17, 2019 · 1 comment
Open

Enforce revert commit format #833

ZachJW34 opened this issue Oct 17, 2019 · 1 comment

Comments

@ZachJW34
Copy link

Expected Behavior

Commitlint configuration extending @commitlint/config-conventional should enforce recommended revert commit format documented here. A commit of:

revert: not following documentation

This commit reverts 12345

should fail commit linting.

Current Behavior

A revert commit not following the default revert regex pattern /^revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./ will pass commit linting.

@rdbisme
Copy link

rdbisme commented Nov 23, 2023

I think this answers your issue: #3692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants