Add pre-commit
This commit is contained in:
parent
9a58810747
commit
fabf06d272
1 changed files with 8 additions and 1 deletions
|
@ -8,4 +8,11 @@ repos:
|
|||
- id: no-go-testing
|
||||
- id: go-unit-tests
|
||||
- id: go-build
|
||||
- id: go-mod-tidy
|
||||
- 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