Skip to content

Commit

Permalink
Adapt .golangci.yml to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Mar 20, 2024
1 parent d7aeb07 commit 4b5e87d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
run:
tests: true
skip-files:
- ".*_test.go$"

linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/iotaledger
golint:
min-confidence: 0.9
gocyclo:
min-complexity: 15
govet:
check-shadowing: false
disable:
- shadow
misspell:
locale: US
nlreturn:
Expand All @@ -31,7 +28,7 @@ linters:
disable-all: true
# Enable specific linter
enable:
- deadcode
#- deadcode
- errcheck
- gosimple
- govet
Expand All @@ -45,7 +42,7 @@ linters:
- bidichk
- bodyclose
- containedctx
- contextcheck
#- contextcheck # this linter is buggy and renders all nolint rules useless
- decorder
#- depguard
- dogsled
Expand Down Expand Up @@ -109,6 +106,8 @@ linters:
- wastedassign

issues:
exclude-files:
- ".*_test.go$"
# Maximum issues count per one linter.
# Set to 0 to disable.
# Default: 50
Expand Down

0 comments on commit 4b5e87d

Please sign in to comment.