commit_lint 0.2.0
commit_lint: ^0.2.0 copied to clipboard

Static analysis for commit messages

Dart Commit Lint #

Note: This project is in active development stage and is not ready for any kind of usage! ⚠️⚠️⚠️⚠️⚠️

What is commit lint #

Commit lint checks if your commit messages meet the conventional commit format.

In general the pattern mostly looks like this:

type(scope?): subject  #scope is optional; multiple scopes are supported (current delimiter options: "/", "\" and ",")

Real world examples can look like this:

chore: run tests on travis ci
fix(server): send cors headers
feat(blog): add comment section

Common types:

  • build
  • ci
  • chore
  • docs
  • feat
  • fix
  • perf
  • refactor
  • revert
  • style
  • test

Inspired by TS commitlint