What this validator checks
The first line must use type(optional-scope): description. An exclamation mark before the colon may mark a breaking change. The tool also warns about an empty description, excessive subject length, final punctuation, and a missing BREAKING CHANGE: footer when the breaking marker is used.
Examples
fix(auth): handle expired refresh token
feat(api)!: remove legacy response fieldsThe specification permits custom types, but many teams restrict them. This validator uses the common set shown in the Commit Message Generator.