Skip to content

Commit

Permalink
ci: Update golang linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
filipdjokic committed May 27, 2024
1 parent 5b022b5 commit de9130c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/linters/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,20 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- exportloopref
- fieldalignment
- gocritic
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- maligned
- misspell
- nakedret
- scopelint
- revive
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
Expand Down Expand Up @@ -60,12 +58,8 @@ issues:
linters-settings:
dogsled:
max-blank-identifiers: 3
maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true
nolintlint:
allow-unused: false
allow-leading-space: true
require-explanation: false
require-specific: false
misspell:
Expand Down

0 comments on commit de9130c

Please sign in to comment.