Skip to content

Instantly share code, notes, and snippets.

@iamgoangle
Created September 5, 2022 14:25
Show Gist options
  • Save iamgoangle/50e8a6c2a8be45796719b4cd2e1cb755 to your computer and use it in GitHub Desktop.
Save iamgoangle/50e8a6c2a8be45796719b4cd2e1cb755 to your computer and use it in GitHub Desktop.
pre-commit
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