home.social

#commitlint — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #commitlint, aggregated by home.social.

fetched live
  1. As a companion project to sprig-commit which I published earlier, tonight I created sprig-lint. Similar to #commitlint, it validates the #conventionalCommits format and general styling, but it is implemented as a single #bash 3.2 script with zero dependencies.

    github.com/nsrosenqvist/sprig-

    #devtools #git

  2. Finally wrote a new blog post! It's a solution to a problem I had running commitlint on our merge queue in GitHub. When I looked for advice I couldn't find anything about this specific problem, so maybe this will help someone.

    kieranmcguire.uk/posts/github-

    #commitlint #github

  3. I’m discovering that there is a thing called #gitmoji that apparently enough people use to warrant a plugin for #commitlint and all i’ve got to say is WTAF is wrong with you people? Deciphering crappy commit messages wasn’t interesting enough so you had to swtich to hieroglyphics?

  4. @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.

  5. Currently looking at commit messages of less than 50 characters introduced by empty merge commits. Trying to figure out which does what and why is an absolute horror show.

    I wish teams wrote commits more similar to those from the Linux kernel. What a pleasure it is opening up their history... I recommend to everyone working with Git that doesn't know what I'm talking about to look at a couple and see the effort that goes in.

    #SoftwareEngineering #SoftwareDevelopment #Git #Linux #LinuxKernel #Software #CommitLint #Kernel

  6. There is a need for a solid set of environment/language-agnostic tools for setting up #ConventionalCommits in a project (linting, prompting, changelog generation, git hook management, etc.).

    Current tools like #Commitizen and #commitlint are a total circus to set up in projects that don't have npm and node_modules. 🙄

  7. 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