Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed May 16, 2024
1 parent 28c1695 commit 02dd650
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,15 @@ issues:
linters:
- stylecheck
- path: "migrations"
text: "SA1019:"
linters:
- staticcheck
- text: "SA1019: sdkerrors.Wrap is deprecated: functionality of this package has been moved to it's own module:"
- text: "SA1019: sdkerrors"
linters:
- staticcheck
- text: "SA1019: sdkerrors.Wrapf is deprecated: functionality of this package has been moved to it's own module:"
- text: "SA1019: errors"
linters:
- staticcheck
- text: "SA1019: errors.Wrap is deprecated: functionality of this package has been moved to it's own module:"
linters:
- staticcheck
- text: "SA1019: errors.Wrapf is deprecated: functionality of this package has been moved to it's own module:"
linters:
- staticcheck
- text: "SA1019: errors.Register is deprecated: functionality of this package has been moved to it's own module:"
linters:
- staticcheck
- text: "SA1019: sdkerrors.Register is deprecated: functionality of this package has been moved to it's own module:"
- text: "SA1019: sdkerr"
linters:
- staticcheck

Expand All @@ -71,7 +61,7 @@ linters-settings:
# print struct with more effective memory layout or not, false by default
suggest-new: true
nolintlint:
allow-unused: false
allow-unused: true
allow-leading-space: true
require-explanation: false
require-specific: false

0 comments on commit 02dd650

Please sign in to comment.