pre-commit: add configuration

This commit is contained in:
Sumner Evans 2022-01-27 09:34:52 -07:00
commit d711ce11c5
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

14
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.5
hooks:
- id: go-imports-repo