forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yaml
42 lines (41 loc) · 860 Bytes
/
.golangci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
issues:
exclude-rules:
- path: internal/http/interceptors/log/log.go
text: "SA1019:"
linters:
- staticcheck
- path: pkg/publicshare/manager/json/json.go
text: "SA1019:"
linters:
- staticcheck
- path: internal/grpc/services/gateway/publicshareprovider.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
- golint
- goimports
- unconvert
- scopelint
- maligned
- misspell
- gocritic
- prealloc
#- gosec