Skip to content

Commit

Permalink
Merge pull request #46 from Mirantis/Richard-Barrett-patch-1
Browse files Browse the repository at this point in the history
Create .pre-commit-config.yaml
  • Loading branch information
Richard-Barrett authored Nov 24, 2022
2 parents a5f0d72 + 53af3f0 commit c081734
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- repo: https://github.com/dnephin/pre-commit-golang
rev: master
hooks:
- id: go-fmt
- id: go-vet
- id: go-lint
- id: go-imports
- id: go-cyclo
args: [-over=15]
- id: validate-toml
- id: no-go-testing
- id: golangci-lint
- id: go-critic
- id: go-unit-tests
- id: go-build
- id: go-mod-tidy

0 comments on commit c081734

Please sign in to comment.