do not include pre-commit in repo.

This commit is contained in:
Kalle Carlbark 2021-11-26 11:16:54 +01:00
parent 7fb583bd4e
commit 375dc521dc
No known key found for this signature in database
2 changed files with 1 additions and 18 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.pre-commit-config.yaml

View file

@ -1,18 +0,0 @@
repos:
- repo: https://git.candidator.se/go/dev-tools/pre-commit-golang.git
rev: f898003d6bfc677c18ee10210eb663fa5394cfb5
hooks:
- id: go-fmt
- id: go-vet
- id: go-staticcheck
- id: go-imports
- id: go-cyclo
args: [-over=100]
- id: revive
- id: gosec
- id: validate-toml
- id: no-go-testing
# - id: golangci-lint
- id: go-critic
- id: go-unit-tests
- id: go-build