diff --git a/.golangci.yml b/.golangci.yml index e0912e60b..46293ab93 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -145,7 +145,6 @@ linters: - unparam - wastedassign - # Disable gofumpt as it has weird behavior regarding formatting multiple # lines for a function which is in conflict with our contribution # guidelines. See https://github.com/mvdan/gofumpt/issues/235. @@ -218,10 +217,21 @@ linters: - intrange - goconst + # Deprecated linters that have been replaced by newer ones. + - deadcode + - exhaustivestruct + - ifshort + - golint + - interfacer + - varcheck + - nosnakecase + - scopelint + - structcheck + - maligned issues: # Only show newly introduced problems. - new-from-rev: 77c7f776d5cbf9e147edc81d65ae5ba177a684e5 + new-from-rev: 03eab4db64540aa5f789c617793e4459f4ba9e78 # Skip autogenerated files for mobile and gRPC as well as copied code for # internal use.