File tree Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Expand file tree Collapse file tree 4 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ linters:
99
99
- name : use-errors-new
100
100
# 84 occurrences. Improves error testing.
101
101
disabled : true
102
+ - name : struct-tag
103
+ # 2 occurrences.
104
+ disabled : true
102
105
103
106
# #### P1: consider making a dent on these, but not critical.
104
107
- name : argument-limit
@@ -131,6 +134,9 @@ linters:
131
134
- name : cognitive-complexity
132
135
arguments : [205]
133
136
# 441 occurrences (at default 7). We should try to lower it (involves significant refactoring).
137
+ - name : var-naming
138
+ # 1 occurrence.
139
+ disabled : true
134
140
135
141
# #### P2: nice to have.
136
142
- name : max-public-structs
@@ -155,6 +161,9 @@ linters:
155
161
- name : exported
156
162
# 577 occurrences. Forces documentation of any exported symbol.
157
163
disabled : true
164
+ - name : unnecessary-format
165
+ # Many occurrences.
166
+ disabled : true
158
167
159
168
# ##### Permanently disabled. Below have been reviewed and vetted to be unnecessary.
160
169
- name : line-length-limit
@@ -175,6 +184,9 @@ linters:
175
184
- name : add-constant
176
185
# 2605 occurrences. Kind of useful in itself, but unacceptable amount of effort to fix
177
186
disabled : true
187
+ - name : enforce-switch-style
188
+ # Many occurrences.
189
+ disabled : true
178
190
179
191
depguard :
180
192
rules :
@@ -241,7 +253,6 @@ linters:
241
253
- typeAssertChain
242
254
- unlabelStmt
243
255
- builtinShadow
244
- - importShadow
245
256
- initClause
246
257
- nestingReduce
247
258
- unnecessaryBlock
Original file line number Diff line number Diff line change @@ -217,15 +217,15 @@ fix-mod:
217
217
# #########################
218
218
install-dev-tools :
219
219
$(call title, $@ )
220
- # golangci: v2.0.2 (2024-03-26 )
220
+ # golangci: v2.4.0 (2025-08-14 )
221
221
# git-validation: main (2025-02-25)
222
222
# ltag: main (2025-03-04)
223
223
# go-licenses: v2.0.0-alpha.1 (2024-06-27)
224
224
# stubbing go-licenses with dependency upgrade due to non-compatibility with golang 1.25rc1
225
225
# Issue: https://github.com/google/go-licenses/issues/312
226
226
@cd $(MAKEFILE_DIR ) \
227
227
&& go install github.com/Shubhranshu153/go-licenses/v2@f8c503d1357dffb6c97ed3b94e912ab294dde24a \
228
- && go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@2b224c2cf4c9f261c22a16af7f8ca6408467f338 \
228
+ && go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@43d03392d7dc3746fa776dbddd66dfcccff70651 \
229
229
&& go install github.com/vbatts/git-validation@7b60e35b055dd2eab5844202ffffad51d9c93922 \
230
230
&& go install github.com/containerd/ltag@66e6a514664ee2d11a470735519fa22b1a9eaabd \
231
231
&& go install gotest.tools/gotestsum@0d9599e513d70e5792bb9334869f82f6e8b53d4d
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ linters:
54
54
- sloglint # no slog
55
55
- testifylint # no testify
56
56
- zerologlint # no zerolog
57
+ - funcorder
58
+ - noctx
59
+ - noinlineerr
60
+ - wsl_v5
57
61
settings :
58
62
interfacebloat :
59
63
# Default is 10
@@ -91,6 +95,12 @@ linters:
91
95
- " fmt.Fprint"
92
96
- " fmt.Fprintln"
93
97
- " fmt.Fprintf"
98
+ - name : redundant-test-main-exit
99
+ disabled : true
100
+ - name : enforce-switch-style
101
+ disabled : true
102
+ - name : var-naming
103
+ disabled : true
94
104
depguard :
95
105
rules :
96
106
main :
Original file line number Diff line number Diff line change @@ -164,14 +164,14 @@ up:
164
164
# #########################
165
165
install-dev-tools :
166
166
$(call title, $@ )
167
- # golangci: v2.0.2 (2024-03-26 )
167
+ # golangci: v2.4.0 (2025-08-14 )
168
168
# git-validation: main (2025-02-25)
169
169
# ltag: main (2025-03-04)
170
170
# go-licenses: v2.0.0-alpha.1 (2024-06-27)
171
171
# stubbing go-licenses with dependency upgrade due to non-compatibility with golang 1.25rc1
172
172
# Issue: https://github.com/google/go-licenses/issues/312
173
173
@cd $(MAKEFILE_DIR ) \
174
- && go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@2b224c2cf4c9f261c22a16af7f8ca6408467f338 \
174
+ && go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@43d03392d7dc3746fa776dbddd66dfcccff70651 \
175
175
&& go install github.com/vbatts/git-validation@7b60e35b055dd2eab5844202ffffad51d9c93922 \
176
176
&& go install github.com/containerd/ltag@66e6a514664ee2d11a470735519fa22b1a9eaabd \
177
177
&& go install github.com/Shubhranshu153/go-licenses/v2@f8c503d1357dffb6c97ed3b94e912ab294dde24a
You can’t perform that action at this time.
0 commit comments