Skip to content

Commit

Permalink
chore: add couple other linters to golangci
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaatsbergen committed Dec 3, 2023
1 parent 2a928e1 commit 6fc3a7a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .golangci.yml
Expand Up @@ -4,16 +4,28 @@ issues:
max-per-linter: 0
max-same-issues: 0

exclude-rules:
# disable funlen for test funcs
- source: "^func Test"
linters:
- funlen

linters:
disable-all: true
enable:
- bidichk
- durationcheck
- decorder
- dogsled
- errcheck
- exportloopref
- forcetypeassert
- funlen
- godot
- godox
- gofmt
- gosimple
- goconst
- ineffassign
- makezero
- misspell
Expand Down

0 comments on commit 6fc3a7a

Please sign in to comment.