welpo / git-sumi

The non-opinionated Rust-based commit message linter.
https://sumi.rs/
Apache License 2.0
10 stars 0 forks source link

`header_case` rule #17

Closed TheAwiteb closed 3 months ago

TheAwiteb commented 3 months ago

Feature Request

Summary

A rule like description_case but for the header, where can specify a specific case for the first letter in the header

Motivation

This will help to make the change log and the log history looks better, same as description_case

Detailed Description

This should respect the conventional commits header, which in this case it will check the header not the type

Contributing request

I can work on this if it's accepted

TheAwiteb commented 3 months ago

Sorry, looks like description_case is for the header. I thought is for the body

welpo commented 3 months ago

I appreciate the intention to contribute!

Reviewing the Rules docs, one could easily be confused by the use of "description" without more context.

I've added (f5c7074) a little "info" section referring to the FAQ for the commit part.

Thanks!