forked from opencloud-eu/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yaml
More file actions
39 lines (39 loc) · 783 Bytes
/
.golangci.yaml
File metadata and controls
39 lines (39 loc) · 783 Bytes
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
issues:
exclude-rules:
- path: internal/http/interceptors/log/log.go
text: "SA1019:"
linters:
- staticcheck
- path: pkg/utils/utils.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
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
#- depguard
- revive
- goimports
- unconvert
- copyloopvar
- misspell
- gocritic
- prealloc
#- gosec
linters-settings:
revive:
ignore-generated-header: true
rules:
- name: unused-parameter
disabled: true