Skip to content

Commit

Permalink
update golangci-lint to v1.49.0
Browse files Browse the repository at this point in the history
Also replaced deprecated linters:

    WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
    WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner.  Replaced by revive.
    WARN [runner] The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner.
    WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Oct 4, 2022
1 parent 79f783f commit d7bf7af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
steps:
- checkout
- go/install-golangci-lint:
prefix: v1.48.0
version: 1.48.0
prefix: v1.49.0
version: 1.49.0
- go/install: {package: git}
- run:
name: Lint
Expand Down
6 changes: 1 addition & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- errcheck
Expand All @@ -42,11 +41,9 @@ linters:
- goconst
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- interfacer
- lll
- maintidx
- misspell
Expand All @@ -56,13 +53,12 @@ linters:
- nilnil
- nolintlint
- prealloc
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace

0 comments on commit d7bf7af

Please sign in to comment.