commitguard

Crates.iocommitguard
lib.rscommitguard
version0.2.0
sourcesrc
created_at2024-02-14 19:30:45.243456
updated_at2024-03-06 20:58:08.116041
descriptionA commitlint implementation in Rust
homepagehttps://github.com/zauni/commitguard
repositoryhttps://github.com/zauni/commitguard
max_upload_size
id1140155
size59,973
Matthias Zaunseder (zauni)

documentation

README

commitguard

A commitlint implementation in Rust.

It's a project to learn Rust, so don't expect production ready code. If anybody has suggestions to make it better, please feel free to open an issue or a PR!

Features:

  • 🎚️ Configurable
  • 🚀 Blazing fast because
  • 🦀 Written in Rust

Installation

cargo install commitguard

Usage

echo "feat(myscope): add new feature" | commitguard

Todos/Ideas:

  1. Configuration system
  2. Implement more rules (see commitlint rules or gitlint)
  3. Implement unit tests for rules
  4. Allow multiple lines in footer and parse references (like original commitlint)
  5. Use and parse CLI args (probably with Clap)
  6. Publish on npm and publish binaries for different platforms (maybe also in package managers like Homebrew)
  7. Dogfood it to lint our own commit messages
  8. Add website (probably Github pages) and add links to rule details
  9. Add devcontainer for easier getting started in VSCode
  10. Benchmark against original commitlint
  11. Migration docs from original commitlint to commitguard
  12. Allow 3rd party rules? Maybe WASM?
  13. Allow custom parsing?
Commit count: 0

cargo fmt