Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install and configure commitlint and Lefthook #868

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

michelegera
Copy link
Contributor

To streamline the release process for this library, we are introducing Conventional Commits to automate the release process. Upon merging this Pull Request, Conventional Commits will be enforced locally through the use of Git Hooks (Lefthook) and commitlint.

We have outlined two phases for the integration of Conventional Commits:

  1. Enforcing
  2. Leveraging

This PR marks the beginning of the enforcement phase, where we implement commitlint to ensure adherence to the standard on a local level. The commitlint.config.js file includes several rules that are being enforced, which can be reviewed here.

As a subsequent step, we plan to run commitlint in CI.

During the leveraging phase, we’ll utilize Conventional Commits to further automate the release process.

@michelegera michelegera merged commit 5a0c353 into master Jan 12, 2024
14 checks passed
@michelegera michelegera deleted the install-config-commitlint branch January 12, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants