From 9fc30d3d964ef0fa37bb9e59694ea8edb72c4938 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Tue, 19 Jul 2022 06:11:13 -0500 Subject: [PATCH] Refresh disabled linters for golangci-lint v1.47.0 - remove `disable` block from unstable config file - remove `disable` block from stable config file Some linter analyzers are still disabled pending resolution from upstream projects. refs GH-676 refs golangci/golangci-lint#2649 --- stable/.golangci.yml | 14 -------------- unstable/.golangci.yml | 14 -------------- 2 files changed, 28 deletions(-) diff --git a/stable/.golangci.yml b/stable/.golangci.yml index c9de7ea3..db07aab8 100644 --- a/stable/.golangci.yml +++ b/stable/.golangci.yml @@ -47,20 +47,6 @@ linters: - stylecheck - unconvert - disable: - # Incompatible with Go 1.18 (GH-568) - # https://github.com/golangci/golangci-lint/issues/2649 - - bodyclose - - contextcheck - - nilerr - - noctx - - rowserrcheck - - sqlclosecheck - - structcheck - - tparallel - - unparam - - wastedassign - # # Disable govet:fieldalignment, re-enable deprecated maligned linter until the # Go team offers more control over the types of checks provided by the diff --git a/unstable/.golangci.yml b/unstable/.golangci.yml index 65380712..858d2573 100644 --- a/unstable/.golangci.yml +++ b/unstable/.golangci.yml @@ -61,20 +61,6 @@ linters: - stylecheck - unconvert - disable: - # Incompatible with Go 1.18 (GH-568) - # https://github.com/golangci/golangci-lint/issues/2649 - - bodyclose - - contextcheck - - nilerr - - noctx - - rowserrcheck - - sqlclosecheck - - structcheck - - tparallel - - unparam - - wastedassign - # # Disable govet:fieldalignment, re-enable deprecated maligned linter until the # Go team offers more control over the types of checks provided by the