Skip to content

Commit

Permalink
update go lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Sep 23, 2023
1 parent 67c1a2a commit a622b3c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ linters:
- goconst
- gocritic
- gofumpt
- gosec
- gosimple
- govet
- ineffassign
Expand All @@ -27,13 +28,6 @@ linters:
- unused

issues:
gofumpt:
# Module path which contains the source code being formatted.
# Default: ""
module-path: github.com/cosmos/interchain-security
# Choose whether to use the extra rules.
# Default: false
extra-rules: true
exclude-rules:
- text: "Use of weak random number generator"
linters:
Expand All @@ -53,11 +47,18 @@ issues:
- text: "leading space"
linters:
- nolintlint
- path: "legacy"
text: "SA1019:"
linters:
- staticcheck

max-issues-per-linter: 10000
max-same-issues: 10000

linters-settings:
gosec:
excludes:
- G404
gocritic:
disabled-checks:
- appendAssign
Expand Down

0 comments on commit a622b3c

Please sign in to comment.