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

chore: remove pre-commit hook #368

Merged
merged 1 commit into from
May 22, 2023
Merged

chore: remove pre-commit hook #368

merged 1 commit into from
May 22, 2023

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented May 22, 2023

So far, a pre-commit hook was triggered by default that ran npm test whenever you committed. I personally found this a bit annoying and always removed the hooks manually, but due to the configuration in package.json, they are always reinstalled whenever you invoke npm install.

This PR gets rid of the hooks by removing the pre-commit dependency and the pre-commit field in package.json. This gives us developers a bit more control without sacrificing code quality here on GitHub since the CI action is running anyway, ensuring that the code base passes all tests.

This is just a personal preference, though, if you would like to keep the hook, we could also leave it as is and close this PR :)

@JKRhb JKRhb requested a review from Apollon77 May 22, 2023 11:54
@JKRhb JKRhb merged commit c8521c9 into coapjs:master May 22, 2023
@JKRhb JKRhb deleted the precommit-hook branch May 22, 2023 16:08
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