Skip to content

Commit 5b51cec

Browse files
committed
update golangci-lint to v1.49.0
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]>
1 parent 77e24c3 commit 5b51cec

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
steps:
5151
- checkout
5252
- go/install-golangci-lint:
53-
prefix: v1.48.0
54-
version: 1.48.0
53+
prefix: v1.49.0
54+
version: 1.49.0
5555
- go/install: {package: git}
5656
- run:
5757
name: Lint

.golangci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ linters:
3232
disable-all: true
3333
enable:
3434
- bodyclose
35-
- deadcode
3635
- depguard
3736
- dogsled
3837
- errcheck
@@ -42,11 +41,9 @@ linters:
4241
- goconst
4342
- gofmt
4443
- goimports
45-
- golint
4644
- gosimple
4745
- govet
4846
- ineffassign
49-
- interfacer
5047
- lll
5148
- maintidx
5249
- misspell
@@ -56,13 +53,12 @@ linters:
5653
- nilnil
5754
- nolintlint
5855
- prealloc
56+
- revive
5957
- staticcheck
60-
- structcheck
6158
- stylecheck
6259
- typecheck
6360
- unconvert
6461
- unparam
6562
- unused
66-
- varcheck
6763
- wastedassign
6864
- whitespace

0 commit comments

Comments
 (0)