Skip to content

Commit

Permalink
Replace deprecated linters
Browse files Browse the repository at this point in the history
- replace deprecated `maligned` linter with
  `govet: fieldalignment`
- replace deprecated `scopelint` linter with
  `exportloopref`

refs GH-153
  • Loading branch information
atc0005 committed Apr 5, 2021
1 parent 906350a commit 4e8c6bf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@ linters:
- depguard
- prealloc
- misspell
- maligned
- dupl
- unconvert
- gofmt
- golint
- gocritic
- scopelint
- exportloopref
- govet
- staticcheck

disable:
- maligned

linters-settings:
govet:
enable:
- fieldalignment

0 comments on commit 4e8c6bf

Please sign in to comment.