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

A rule that rejects obvious words in the commit title #67

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tehraninasab
Copy link
Contributor

@tehraninasab tehraninasab commented Feb 8, 2023

Replaced #15

@knocte
Copy link
Member

knocte commented Feb 8, 2023

Let's consider the commitlint PR for fixing subject-full-stop highest priority, but after you've tackled that, you can address the feedback that I'm going to share about this PR.

@tehraninasab tehraninasab force-pushed the rejectObviousWords-squashed-and-rebased branch 2 times, most recently from 977d10f to fbbab03 Compare February 12, 2023 12:31
@tehraninasab tehraninasab force-pushed the rejectObviousWords-squashed-and-rebased branch 5 times, most recently from 62e1a2d to 67e2ddf Compare February 15, 2023 11:40
@knocte
Copy link
Member

knocte commented Mar 26, 2023

Please add a new failing test with this commit message: tehraninasab@006fe22

That is, if the subject contains just the word "fix", and there's no commit msg body, this rule should complain as well.

@tehraninasab tehraninasab force-pushed the rejectObviousWords-squashed-and-rebased branch 4 times, most recently from 58c2093 to dc8d7a2 Compare March 26, 2023 08:35
@tehraninasab
Copy link
Contributor Author

Please add a new failing test with this commit message: realmarv@006fe22

That is, if the subject contains just the word "fix", and there's no commit msg body, this rule should complain as well.

Done

Add tests for reject-obvious-words rule.
Add a rule to reject obvious words in the commit title.
If the subject contains just the word "fix", and there's no
commit msg body, this rule should complain.
@tehraninasab tehraninasab force-pushed the rejectObviousWords-squashed-and-rebased branch from dc8d7a2 to 7c678a2 Compare August 9, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants