File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 33
33
- name : golangci-lint
34
34
uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # tag=v8.0.0
35
35
with :
36
- version : v2.3 .0
36
+ version : v2.4 .0
37
37
args : --output.text.print-linter-name=true --output.text.colors=true --timeout 10m
38
38
working-directory : ${{matrix.working-directory}}
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ linters:
24
24
- goconst
25
25
- gocritic
26
26
- gocyclo
27
+ - godox
27
28
- goprintffuncname
28
29
- govet
29
30
- importas
@@ -53,6 +54,14 @@ linters:
53
54
- fieldalignment
54
55
- shadow
55
56
enable-all : true
57
+ godox :
58
+ keywords :
59
+ - TODO
60
+ - BUG
61
+ - FIXME
62
+ - NOTE
63
+ - OPTIMIZE
64
+ - HACK
56
65
importas :
57
66
no-unaliased : true
58
67
revive :
@@ -125,6 +134,9 @@ linters:
125
134
- staticcheck
126
135
path : (.+)\.go$
127
136
text : (QF1008)
137
+ - text : " Line contains TODO/BUG/FIXME"
138
+ linters :
139
+ - godox
128
140
formatters :
129
141
enable :
130
142
- gofmt
You can’t perform that action at this time.
0 commit comments