# commitlint-gitlab-ci v0.0.4 => .. Up a Level I have a slowly evolving set of practices when it comes to writing processes. One of the first ones is setting up a Git repository. This always starts with configuring husky[1], semantic-release[2], conventional-commits[3], and commitlint[4]. (I'm working on updating my Yeoman generator[5] to make this a lot easier, but that will be later this week.) => https://typicode.github.io/husky/#/ 1: https://typicode.github.io/husky/#/ => https://semantic-release.gitbook.io/semantic-release/ 2: https://semantic-release.gitbook.io/semantic-release/ => https://www.conventionalcommits.org/en/ 3: https://www.conventionalcommits.org/en/ => https://commitlint.js.org/#/ 4: https://commitlint.js.org/#/ => https://www.npmjs.com/package/generator-mfgames-writing 5: https://www.npmjs.com/package/generator-mfgames-writing Sadly, my Git host of choice, Gitlab[6], has a little problem with `commitlint`. It blows up on the first few commits which lead to me reporting this[7] issue. => https://gitlab.com/ 6: https://gitlab.com/ => https://github.com/conventional-changelog/commitlint/issues/885 7: https://github.com/conventional-changelog/commitlint/issues/885 Since I'm usually creating a number of new Git repositories in a month and `commitlint` is one of the first things I set up, I ended up writing a little NPM utility[8] to handle the bug for me since the original package (rightfully, I feel) don't want to add Gitlab-specific code: => https://www.npmjs.com/package/commitlint-gitlab-ci 8: https://www.npmjs.com/package/commitlint-gitlab-ci ``` npx commitlint-gitlab-ci -x @commitlint/config-conventional ``` It seems to work fairly well for me, I've been messing with it for a little while and haven't had too many complaints. # Metadata Categories: => /categories/programming/ Programming Tags: => /tags/commitlint/ commitlint => /tags/commitlint-gitlab-ci/ commitlint-gitlab-ci => /tags/conventional-commits/ Conventional Commits => /tags/gitlab/ Gitlab => /tags/husky/ Husky => /tags/semantic-release/ semantic-release # Footer Below are various useful links within this site and to related sites (not all have been converted over to Gemini). => /now/ Now => /contact/ Contact => /bio/ Biography => /bibliography/ Bibliography => /support/ Support => /fiction/ Fiction => //fedran.com/ Fedran => https://mfgames.com/ Coding => https://moonfire.us/ The Moonfires => /categories/ Categories => /tags/ Tags => /privacy/ Privacy => /colophon/ Colophon => /license/ License => https://lists.typewriter.press/subscription?f=RDQ6f3AFHXnX2o763d5TgUmaYP7N763gR6FjZyGUUFWhyRkpgZF9I35ySICDBEdFFtgG Mailing List => https://d.moonfire.us/blog/2021/07/27/commitlint-gitlab-ci/