]> ruderich.org/simon Gitweb - safcm/safcm.git/blob - .golangci.yml
sync: never remove packages during installation on Debian
[safcm/safcm.git] / .golangci.yml
1 linters:
2   disable-all: true
3   enable:
4     # Enabled by default
5     - deadcode
6     - errcheck
7     - gosimple
8     - govet
9     - ineffassign
10     - staticcheck
11     - structcheck
12     - typecheck
13     - unused
14     - varcheck
15     # Additional checks
16     - bodyclose
17     - contextcheck
18     - durationcheck
19     - errname
20     - exhaustive
21     - exportloopref
22     - gofmt
23     - nilerr
24     - nolintlint
25     - predeclared
26     - rowserrcheck
27     - unconvert
28     - wastedassign
29
30   issues:
31     # Don't hide potential important issues
32     exclude-use-default: false
33
34 linters-settings:
35   exhaustive:
36     # "default" is good enough to be exhaustive
37     default-signifies-exhaustive: true