Skip to content

Commit

Permalink
Add pre commit hook generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Zavhorodnii committed Feb 6, 2024
1 parent e7068f9 commit dcfa9ca
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 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: go-fmt
- id: go-imports
- id: no-go-testing
- id: golangci-lint
- id: go-unit-tests

0 comments on commit dcfa9ca

Please sign in to comment.