question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FR: Add commitlint, husky and commitizen

See original GitHub issue

The use of standard-version is tightly coupled to the use of conventional-changelog-angular, and the use of these libraries has become a de facto standard to enforce correct use. It would be nice to allow the installation and configuration of these libraries, even if it is optional.

  • commitlint: check commit messages to follow the conventional commit pattern
  • husky: hook into git events and run code at specific points
  • commitizen: helper for writing conventional commit messages

I’m now testing the setup of these libraries with semver to ensure that all works well together.

The project ngx-semantic-version is doing something similar, but focused in Angular apps.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
RicardoJBarrioscommented, May 17, 2021

Hello.

Yes, sorry, I’ve been testing it locally and is configured and working in https://github.com/RicardoJBarrios/fgc. I’ve found no issues, and all works together with the config in this project, that’s basically the default one.

1reaction
RicardoJBarrioscommented, May 5, 2021

Hello. Thank you for accepting this feature request.

At the moment everything seems to be working as expected. Now I am finishing a small test project. I finish it, upload it and we see the minimum configuration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up ESLint, Prettier, Commitizen, Husky and friends in 2022
We're now going to look at adding Commitizen to our project, and with the help of Husky and commitlint, we can enforce standardised...
Read more >
Add Commitlint, Commitizen, Standard Version, and Husky to ...
It provides an easy set of rules for creating an explicit commit history, which makes it easier to write automated tools on top...
Read more >
Why Should you use Commitizen + Husky for conventional ...
Why Should you use Commitizen + Husky for conventional commit and have organised lint · What can be done, to ensure good declarative...
Read more >
How to setup workspace like a pro — Husky + Commitlint + Cz ...
Same for the below command. npx husky add .husky/pre-commit “npm run lint-staged”. Now let's do some curls as shown below:
Read more >
How To Setup Husky, Lint Staged, And Commitizen On A Next ...
This article will show you how to setup Husky, Lint Staged, ... Eslint will install dependencies for you and then created a config...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found