FErki · @ferki
56 followers · 106 posts · Server fosstodon.org

@musicmatze After reviewing several tools, I currently find the most useful for checking commit messages.

➕: flexible enough configuration that allows me to tune it to my preferences, instead of following someone else's opinions

➖: it needs npm which doesn't fit any of my projects

I use it as a GitHub Action for PRs, and locally I let vim highlight/autoformat my own commit messages.

is pretty close too, it only misses a "subject must start uppercase" rule I care about.

#commitlint #gitlint

Last updated 1 year ago

Tommy :blobfoxfloofcofe: · @tido
40 followers · 135 posts · Server hachyderm.io

Yesterday, I tried to upgrade to 5.0 in a number of repos and discovered that has a direct dependency on TypeScript 4.x, ts-node and a number of other dependencies totalling close to 1 MB. We only use it to lint our commit messages, so this seems a bit overkill.

Anyway, one rabbit hole later, we've just published `@rnx-kit/commitlint-lite`. Give it a try if you care about things like this: npmjs.com/package/@rnx-kit/com

#typescript #commitlint #rnxkit

Last updated 1 year ago

Ryuno-Ki · @RyunoKi
574 followers · 12542 posts · Server layer8.space

This sounds like a good read:

Zen and the art of writing good commit messages

The difference between good and bad commit messages, and how to enforce the structure with commitlint and Husky git hooks.

vicvijayakumar.com/blog/the-ar

#vcs #git #commit #commitlint

Last updated 2 years ago