Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

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-126
  • Loading branch information
atc0005 committed Apr 8, 2021
1 parent 3c8c8dc commit 2ebb5b7
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,10 +24,17 @@ linters:
- depguard
- prealloc
- misspell
- maligned
- dupl
- unconvert
- gofmt
- golint
- gocritic
- scopelint
- exportloopref

disable:
- maligned

linters-settings:
govet:
enable:
- fieldalignment

0 comments on commit 2ebb5b7

Please sign in to comment.