Skip to content

Commit

Permalink
Disable some linters in test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten van der Heijden committed Sep 25, 2023
1 parent d98b1c6 commit 01c7924
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ linters-settings:
- "performance"
- "style"
- "diagnostic"

issues:
exclude-rules:
- path: (.+)_test.go
linters:
- funlen
- goconst
- nilnil
- goerr113

linters:
enable:
- asasalint
Expand Down Expand Up @@ -33,7 +43,7 @@ linters:
- goconst
- gocritic
- gocyclo
# - goerr113 # extensively used in the test files
- goerr113
- gofmt
- gofumpt
- goheader
Expand Down

0 comments on commit 01c7924

Please sign in to comment.