devmoji
devmoji copied to clipboard
feat: Skip lint when merging remote branch
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.
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 :) .