Conventional Commit Linter

Check a commit message against the Conventional Commits format and see exactly what to fix.

This message follows Conventional Commits.
Type
feat
Scope
api
Breaking
no
Footers
1

Allowed types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

How to use

1

Paste the commit message, including any body and footers.

2

Read the problems and warnings listed under the status line.

3

Edit the message until it passes, then use it with git commit.

Example

A message that needs a fix

Without a type and colon the message cannot be parsed. Try "feat(auth): add login page".

Input
Added login page.
Output
The first line must look like "type(scope): subject".

Frequently Asked Questions

feat, fix, docs, style, refactor, perf, test, build, ci, chore and revert. These are the common set used by most commit linters.

Explore

Connected career roadmaps, algorithmic problems, and real-world curricula related to Conventional Commit Linter.