Skip to content

Commit

Permalink
Update linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
RincewindsHat committed Oct 7, 2024
1 parent f2295de commit 7e5ab8f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
run:
timeout: 5m
skip-files:
- '(.+)_test\.go'
- 'internal/config/http_config.go'
- 'internal/config/config.go'

issues.exclude-files:
- '(.+)_test\.go'
- 'internal/config/http_config.go'
- 'internal/config/config.go'
linters:
disable-all: false
enable:
- dogsled
- dupl
- whitespace
- wsl
- exportloopref
disable:
- funlen
- scopelint
- bodyclose
- contextcheck
- nilerr
- noctx
- rowserrcheck
- sqlclosecheck
- structcheck
- unparam
- musttag
presets:
Expand Down

0 comments on commit 7e5ab8f

Please sign in to comment.