gin/.golangci.yml

40 lines
671 B
YAML
Raw Normal View History

2021-08-19 08:16:18 +00:00
run:
timeout: 5m
linters:
enable:
2021-09-28 03:37:31 +00:00
- asciicheck
- depguard
- dogsled
- durationcheck
- errcheck
- errorlint
- exportloopref
- gci
- gofmt
- goimports
- gosec
- misspell
- nakedret
- nilerr
- nolintlint
- revive
- wastedassign
issues:
exclude-rules:
2021-09-28 03:37:31 +00:00
- linters:
- structcheck
- unused
text: "`data` is unused"
- linters:
- staticcheck
text: "SA1019:"
- linters:
- revive
text: "var-naming:"
- linters:
- revive
text: "exported:"
- path: _test\.go
linters:
- gosec # security is not make sense in tests