devmoji icon indicating copy to clipboard operation
devmoji copied to clipboard

feat: Skip lint when merging remote branch

Open singara-velan opened this issue 3 years ago • 1 comments

Description

When merging a remote branch (origin/master) directly into the local branch (feature/branch-abc), the default git commits message will be "Merge remote-tracking branch 'origin/master' into feature/branch-abc".

Current lint doesn't cover this use case, so the commit message format is validated against the conventional commit standards and getting blocked.

This PR includes a regex to skip the git merge default commit message from linting.

singara-velan avatar Jun 15 '22 13:06 singara-velan

Dear @folke, we are actively using devmoji in our project. Please review the PR and let me know of any changes needed. Looking forward to merging the PR when possible :) .

singara-velan avatar Jun 15 '22 13:06 singara-velan