forked from lf-edge/eve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
33 lines (31 loc) · 1.25 KB
/
.golangci.yml
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
---
run:
deadline: 30m
linters:
enable-all: true
disable:
- gochecknoglobals # unreliable
- golint # covered by revive
- interfacer # deprecated
- lll # line length check
- stylecheck # covered by revive
- typecheck # See golangci/golangci-lint#419
- varcheck # unreliable
- funlen # function length checks
- godot # Don't mandate periods at end of comments
- nlreturn # Too opioniated about whitespace
- wsl # Way to opinionated
- whitespace # Too opinionated about whitespace
- wrapcheck # XXX should we switch to wrapped errors etc?
- goerr113 # XXX should we switch to wrapped errors etc?
- exhaustivestruct # Too opinionated
- gofumpt # Too opinionated about whitespace
- gomnd # We use plenty of magic constants
- scopelint # Obsoleted
- gocognit # Too opinionated on existing code
- gocyclo # Too opinionated on existing code
- maligned # Too opinionated on existing structs
- nestif # Too opinionated on existing code
issues:
max-issues-per-linter: 0
max-same-issues: 0