Add pre-commit
This commit is contained in:
parent
9a58810747
commit
fabf06d272
1 changed files with 8 additions and 1 deletions
|
@ -9,3 +9,10 @@ repos:
|
|||
- id: go-unit-tests
|
||||
- id: go-build
|
||||
- id: go-mod-tidy
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
- id: check-merge-conflict
|
||||
|
|
Loading…
Reference in a new issue