Add pre-commit

This commit is contained in:
Galorhallen 2022-10-25 10:00:54 +02:00
parent 9a58810747
commit fabf06d272

View File

@ -9,3 +9,10 @@ repos:
- id: go-unit-tests - id: go-unit-tests
- id: go-build - 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