Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: better, stricter regex matching (commit msgs)
Be more compliant with the Conventional Commits spec, while still allowing some typos/slight variations (e.g. in whitespace). NOT using an external parser because: - we don't need the entire commit message parsed for our use-case - the few parsers currently around vary, might throw if the entire commit message isn't exactly compliant with spec, might error erroneously if parser is too strict while having an imperfect grammar (e.g. when it comes to git trailers), etc. - it would add a dependency, and may complicate things unnecessarily BREAKING CHANGE: the regex/pattern used for detecting "breaking change" commit messages has changed. `BREAKING` alone is no longer detected, use `BREAKING CHANGE` instead. Please see this commit's diff for details.
- Loading branch information