File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,23 @@ issues:
13
13
linters :
14
14
default : all
15
15
disable :
16
- - cyclop
17
- - exhaustruct
18
- - funlen
19
- - godox
20
- - nonamedreturns
16
+ # These are the linters that we know we do not want
17
+ - cyclop # provided by revive
18
+ - exhaustruct # does not serve much of a purpose
19
+ - funlen # provided by revive
20
+ - gocognit # provided by revive
21
+ - goconst # provided by revive
22
+ - godox # not helpful unless we could downgrade it to warning / info
23
+ - ginkgolinter # no ginkgo
24
+ - gomodguard # we use depguard instead
25
+ - ireturn # too annoying with not enough value
26
+ - lll # provided by golines
27
+ - nonamedreturns # named returns are occasionally useful
28
+ - prealloc # premature optimization
29
+ - promlinter # no prometheus
30
+ - sloglint # no slog
31
+ - testifylint # no testify
32
+ - zerologlint # no zerolog
21
33
settings :
22
34
depguard :
23
35
rules :
@@ -51,7 +63,7 @@ formatters:
51
63
gofumpt :
52
64
extra-rules : true
53
65
golines :
54
- max-len : 100
66
+ max-len : 120
55
67
tab-len : 4
56
68
shorten-comments : true
57
69
enable :
You can’t perform that action at this time.
0 commit comments