Skip to content

Commit

Permalink
chore(lint): replace deprecated linter
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Dec 26, 2024
1 parent 6175555 commit a275fac
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions src/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
run:
timeout: 10m
allow-parallel-runners: true
linters:
disable-all: true
enable:
- bodyclose
- dupl
- errcheck
- exhaustive
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- revive
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
- exportloopref
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- whitespace
- lll
linters-settings:
gocritic:
enabled-tags:
- diagnostic
- opinionated
- performance
- style
disabled-tags:
- experimental
lll:
line-length: 180
run:
timeout: 10m
allow-parallel-runners: true
linters:
disable-all: true
enable:
- bodyclose
- dupl
- errcheck
- exhaustive
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- revive
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
- copyloopvar
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- whitespace
- lll
linters-settings:
gocritic:
enabled-tags:
- diagnostic
- opinionated
- performance
- style
disabled-tags:
- experimental
lll:
line-length: 180

0 comments on commit a275fac

Please sign in to comment.