forked from hbollon/IGopher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
52 lines (48 loc) · 1.04 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
run:
tests: false
issues:
max-issues-per-linter: 0
max-same-issues: 0
linters-settings:
gocyclo:
min-complexity: 30 # Will be decreased later in the devellopement
govet:
check-shadowing: true
settings:
printf:
funcs:
- (github.com/sirupsen/logrus).Debugf
- (github.com/sirupsen/logrus).Infof
- (github.com/sirupsen/logrus).Warnf
- (github.com/sirupsen/logrus).Errorf
- (github.com/sirupsen/logrus).Fatalf
misspell:
locale: US
lll:
line-length: 140
linters:
enable:
- dupl
- exportloopref
- goconst
- gocyclo
- godox
- gofmt
- goimports
- golint
- govet
- lll
- maligned
- misspell
- prealloc
- rowserrcheck
- unconvert
- unparam
- whitespace
disable:
- deadcode # Disabled during early devellopment
- errcheck
- gosec
- structcheck # Disabled during early devellopment
- unused # Disabled during early devellopment
- varcheck # Disabled during early devellopment