You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- dogsled # Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f())
30
37
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and reports occasions, where the check for the returned error can be omitted.
31
-
- exhaustive # check exhaustiveness of enum switch statements
32
38
- godot # Check if comments end in a period
33
39
- gosec # (gas): Inspects source code for security problems
34
40
- musttag # enforce field tags in (un)marshaled structs
@@ -227,6 +233,8 @@ linters:
227
233
disabled: true
228
234
- name: empty-lines
229
235
disabled: true
236
+
- name: enforce-switch-style
237
+
disabled: true
230
238
- name: error-naming
231
239
disabled: true
232
240
- name: flag-parameter
@@ -341,12 +349,6 @@ linters:
341
349
- bodyclose
342
350
text: response body must be closed
343
351
344
-
# named/naked returns are evil, with a single exception
0 commit comments