gin/.golangci.yml

40 lines
671 B
YAML
Raw Normal View History

2021-08-19 11:16:18 +03:00
run:
timeout: 5m
linters:
enable:
2021-09-28 06:37:31 +03:00
- asciicheck
- depguard
- dogsled
- durationcheck
- errcheck
- errorlint
- exportloopref
- gci
- gofmt
- goimports
- gosec
- misspell
- nakedret
- nilerr
- nolintlint
- revive
- wastedassign
issues:
exclude-rules:
2021-09-28 06:37:31 +03: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