Skip to content

Commit

Permalink
Merge pull request #12 from michalkaptur/fix_precommit_config
Browse files Browse the repository at this point in the history
Fix pre-commit configuration file
  • Loading branch information
arslanbekov authored Jun 4, 2024
2 parents 043d29f + b6971ec commit c27b6b8
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
- 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
repos:
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
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 c27b6b8

Please sign in to comment.