mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 09:20:50 -05:00
78064e6bab
Signed-off-by: Christian Richter <crichter@owncloud.com>
39 lines
717 B
YAML
39 lines
717 B
YAML
issues:
|
|
exclude-rules:
|
|
- path: pkg/proto/v0/settings.pb.go
|
|
text: "SA1019:"
|
|
linters:
|
|
- staticcheck
|
|
- path: pkg/store/filesystem/io.go
|
|
text: "SA1019:"
|
|
linters:
|
|
- staticcheck
|
|
# Exclude scopelint for tests files because of https://github.com/kyoh86/scopelint/issues/4
|
|
- path: _test\.go
|
|
linters:
|
|
- scopelint
|
|
linters:
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- depguard
|
|
- revive
|
|
- goimports
|
|
- unconvert
|
|
- scopelint
|
|
- maligned
|
|
- misspell
|
|
# - gocritic
|
|
- prealloc
|
|
#- gosec
|
|
|