zrepl/.golangci.yml

17 lines
404 B
YAML
Raw Permalink Normal View History

linters:
enable:
- goimports
issues:
exclude-rules:
- path: _test\.go
linters:
- errcheck
2022-09-25 17:08:41 +02:00
# Disable staticcheck 'Empty body in an if or else branch' as it's useful
# to put a comment into an empty else-clause that explains why whatever
# is done in the if-caluse is not necessary if the condition is false.
- linters:
- staticcheck
text: "SA9003:"