Skip to content

Commit

Permalink
golangci: update config
Browse files Browse the repository at this point in the history
handle changes since 1.41
  • Loading branch information
gucio321 committed Nov 27, 2024
1 parent 41ba34a commit c898b53
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ linters-settings:
goimports:
local-prefixes: github.com/OpenDiablo2/HellSpawner
govet:
check-shadowing: true
shadow: true
lll:
line-length: 140
maligned:
Expand All @@ -33,13 +33,12 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- copyloopvar
- depguard
- dogsled
- dupl
- errcheck
- errorlint
- exportloopref
- funlen
- gochecknoglobals
- gochecknoinits
Expand All @@ -50,42 +49,39 @@ linters:
- godox
- gofmt
- goimports
- gomnd
- goprintffuncname
- gosec
- gosimple
- govet
- ifshort
- ineffassign
- lll
- makezero
- misspell
- mnd
- nakedret
- nolintlint
- prealloc
- revive
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- tagliatelle
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace
- wrapcheck
- wsl

run:
timeout: 5m
skip-dirs:
- .github
- build
- web

issues:
max-same-issues: 0
exclude-use-default: false
exclude-dirs:
- .github
- build
- web

0 comments on commit c898b53

Please sign in to comment.