.golangci.toml (traefik-v2.3.2.src) | : | .golangci.toml (traefik-v2.3.3.src) | ||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
"gocognit", | "gocognit", | |||
"bodyclose", # Too many false-positive and panics. | "bodyclose", # Too many false-positive and panics. | |||
"wsl", # Too strict | "wsl", # Too strict | |||
"gomnd", # Too strict | "gomnd", # Too strict | |||
"stylecheck", # skip because report issues related to some generated files. | "stylecheck", # skip because report issues related to some generated files. | |||
"testpackage", # Too strict | "testpackage", # Too strict | |||
"goerr113", # Too strict | "goerr113", # Too strict | |||
"nestif", # Too many false-positive. | "nestif", # Too many false-positive. | |||
"noctx", # Too strict | "noctx", # Too strict | |||
"exhaustive", # Too strict | "exhaustive", # Too strict | |||
"nlreturn", # Too strict | "nlreturn", # Not relevant | |||
"wrapcheck", # Too strict | ||||
"tparallel", # Not relevant | ||||
"exhaustivestruct", # Not relevant | ||||
] | ] | |||
[issues] | [issues] | |||
exclude-use-default = false | exclude-use-default = false | |||
max-per-linter = 0 | max-per-linter = 0 | |||
max-same-issues = 0 | max-same-issues = 0 | |||
exclude = [ | exclude = [ | |||
"SA1019: http.CloseNotifier is deprecated: the CloseNotifier interface preda tes Go's context package. New code should use Request.Context instead.", # FIXME must be fixed | "SA1019: http.CloseNotifier is deprecated: the CloseNotifier interface preda tes Go's context package. New code should use Request.Context instead.", # FIXME must be fixed | |||
"Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remo ve(All)?|.*printf?|os\\.(Un)?Setenv). is not checked", | "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remo ve(All)?|.*printf?|os\\.(Un)?Setenv). is not checked", | |||
"should have a package comment, unless it's in another file for this package ", | "should have a package comment, unless it's in another file for this package ", | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added |