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-202
  • Loading branch information
atc0005 committed Apr 2, 2021
1 parent a6657c5 commit 17865ec
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 @@ -25,9 +25,16 @@ linters:
- goimports
- golint
- gosec
- maligned
- misspell
- prealloc
- scopelint
- exportloopref
- stylecheck
- unconvert

disable:
- maligned

linters-settings:
govet:
enable:
- fieldalignment

0 comments on commit 17865ec

Please sign in to comment.