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

build: add precommit hook #1002

Open
antongolub opened this issue Dec 17, 2024 · 1 comment
Open

build: add precommit hook #1002

antongolub opened this issue Dec 17, 2024 · 1 comment
Labels
ossln24 OSS Library Night 2024

Comments

@antongolub
Copy link
Collaborator

  • Add new script to package.json
{
  "scripts": {
     "test:precommit": "npm run fmt:check && npm run test:size && npm run test:license "
   }
}
  • Add hook (husky v8?)
@antongolub antongolub added the ossln24 OSS Library Night 2024 label Dec 17, 2024
@easymikey
Copy link
Contributor

May be use this?

https://github.com/toplenboren/simple-git-hooks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ossln24 OSS Library Night 2024
Projects
None yet
Development

No branches or pull requests

2 participants