Created
September 5, 2022 14:25
-
-
Save iamgoangle/50e8a6c2a8be45796719b4cd2e1cb755 to your computer and use it in GitHub Desktop.
pre-commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment