File tree Expand file tree Collapse file tree 2 files changed +3
-24
lines changed Expand file tree Collapse file tree 2 files changed +3
-24
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ linters-settings:
3
3
line-length : 170
4
4
dupl :
5
5
threshold : 400
6
+ run :
7
+ deadline : 5m
Original file line number Diff line number Diff line change @@ -24,29 +24,6 @@ go vet ${MOD_OPT} ./...
24
24
25
25
header_text " running golangci-lint"
26
26
27
- golangci-lint run --disable-all \
28
- --deadline 5m \
29
- --enable=misspell \
30
- --enable=structcheck \
31
- --enable=golint \
32
- --enable=deadcode \
33
- --enable=errcheck \
34
- --enable=varcheck \
35
- --enable=goconst \
36
- --enable=unparam \
37
- --enable=ineffassign \
38
- --enable=nakedret \
39
- --enable=interfacer \
40
- --enable=misspell \
41
- --enable=gocyclo \
42
- --enable=lll \
43
- --enable=dupl \
44
- --enable=goimports \
45
- ./pkg/... ./examples/... .
46
-
47
- # TODO: Enable these as we fix them to make them pass
48
- # --enable=gosec \
49
- # --enable=maligned \
50
- # --enable=safesql \
27
+ golangci-lint run ./pkg/... ./examples/... .
51
28
52
29
GO111MODULES=on go list -mod=readonly ./...
You can’t perform that action at this time.
0 commit comments