Skip to content

Commit

Permalink
📝 docs: add documentation for installing pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pouya-eghbali committed Apr 9, 2024
1 parent 3ef90dd commit d916b62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ tools to get started:
messages and maintaining a logfile.
- [Golangci-lint](https://golangci-lint.run/): Used for Golang lint checks.

You'll need to run the following command to setup the pre-commit hooks:

```sh
pre-commit install --install-hooks --hook-type commit-msg --hook-type pre-push
```

## Conclusion

Following these guidelines helps us maintain a high standard of quality for our
Expand Down

0 comments on commit d916b62

Please sign in to comment.