Skip to content

Commit

Permalink
Refresh disabled linters for golangci-lint v1.47.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
atc0005 committed Jul 19, 2022
1 parent cf20068 commit 9fc30d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions stable/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 0 additions & 14 deletions unstable/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fc30d3

Please # to comment.