Skip to content

Commit

Permalink
add pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
wujunwei928 committed Nov 10, 2024
1 parent 114a26a commit 029341b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-json
- id: check-toml
- id: fix-byte-order-marker
- id: check-merge-conflict
- id: check-added-large-files
- repo: https://github.com/wujunwei928/golang-pre-commit-hooks
rev: v0.0.1
hooks:
- id: go-unit-tests

0 comments on commit 029341b

Please sign in to comment.