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

Adding Husky and Commitlint #550

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Adding Husky and Commitlint #550

merged 1 commit into from
Nov 29, 2024

Conversation

poppyseedDev
Copy link
Contributor

@poppyseedDev poppyseedDev commented Oct 4, 2024

I noticed my pull requests a lot of times weren't passing the following checks:

  • pull request tests/build -> fails to run npm run prettier:check
  • Run commitlint on PR

Therefore I decided to add husky to automatically enforce these rules on every commit.

commitlint.config.js Outdated Show resolved Hide resolved
.husky/commit-msg Outdated Show resolved Hide resolved
.husky/pre-commit Outdated Show resolved Hide resolved
.husky/commit-msg Outdated Show resolved Hide resolved
.husky/pre-commit Outdated Show resolved Hide resolved
@poppyseedDev poppyseedDev merged commit bc50734 into main Nov 29, 2024
2 of 3 checks passed
@poppyseedDev poppyseedDev deleted the commitlint branch November 29, 2024 10:56
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.

3 participants