github.com/cs3org/reva/v2@v2.27.7/.golangci.yaml (about) 1 issues: 2 exclude-rules: 3 - path: internal/http/interceptors/log/log.go 4 text: "SA1019:" 5 linters: 6 - staticcheck 7 - path: pkg/utils/utils.go 8 text: "SA1019:" 9 linters: 10 - staticcheck 11 # Exclude scopelint for tests files because of https://github.com/kyoh86/scopelint/issues/4 12 - path: _test\.go 13 linters: 14 - scopelint 15 linters: 16 enable: 17 - bodyclose 18 - errcheck 19 - gosimple 20 - govet 21 - ineffassign 22 - staticcheck 23 - typecheck 24 - unused 25 #- depguard 26 - revive 27 - goimports 28 - unconvert 29 - copyloopvar 30 - misspell 31 - gocritic 32 - prealloc 33 #- gosec 34 linters-settings: 35 revive: 36 ignore-generated-header: true 37 rules: 38 - name: unused-parameter 39 disabled: true