File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
env :
17
17
GO_VERSION : 1.18
18
- GOLANGCI_LINT_VERSION : v1.48.0
18
+ GOLANGCI_LINT_VERSION : v1.50.1
19
19
CGO_ENABLED : 0
20
20
21
21
steps :
Original file line number Diff line number Diff line change @@ -51,16 +51,19 @@ linters-settings:
51
51
linters :
52
52
enable-all : true
53
53
disable :
54
- - maligned # deprecated
55
- - interfacer # deprecated
54
+ - deadcode # deprecated
55
+ - exhaustivestruct # deprecated
56
56
- golint # deprecated
57
- - scopelint # deprecated
57
+ - ifshort # deprecated
58
+ - interfacer # deprecated
59
+ - maligned # deprecated
58
60
- nosnakecase # deprecated
61
+ - scopelint # deprecated
59
62
- structcheck # deprecated
60
- - exhaustivestruct # deprecated
61
- - ifshort # deprecated
63
+ - varcheck # deprecated
62
64
- sqlclosecheck # not relevant (SQL)
63
65
- rowserrcheck # not relevant (SQL)
66
+ - execinquery # not relevant (SQL)
64
67
- cyclop # duplicate of gocyclo
65
68
- lll
66
69
- dupl
@@ -82,7 +85,9 @@ issues:
82
85
exclude-use-default : false
83
86
max-per-linter : 0
84
87
max-same-issues : 0
85
- exclude : []
88
+ exclude : [
89
+ ' package-comments: should have a package comment'
90
+ ]
86
91
exclude-rules :
87
92
- path : " (.+)_test.go"
88
93
linters :
You can’t perform that action at this time.
0 commit comments