Debian Codegraph @

.pre-commit-config.yaml

raw
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 repos:
4
5 # Run golangci-lint as a pre-commit hook to catch issues before they are pushed
6 # See https://golangci-lint.run/ for more information
7 - repo: local
8 hooks:
9 - id: golangci-lint
10 name: Lint Go code
11 entry: go tool golangci-lint run
12 language: system
13 pass_filenames: false
14 types: [go]