1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-28 09:08:44 +02:00
oauth2-proxy/.golangci.yml

47 lines
829 B
YAML
Raw Normal View History

2019-06-23 21:40:59 +02:00
run:
deadline: 120s
linters:
enable:
- govet
- ineffassign
- goconst
- gofmt
- goimports
2020-07-21 04:06:21 +02:00
- gosec
- gosimple
- staticcheck
- typecheck
- unused
- bodyclose
- dogsled
- goprintffuncname
- misspell
- prealloc
- exportloopref
- stylecheck
- unconvert
- gocritic
2023-10-24 16:31:32 +02:00
- revive
2019-06-23 21:40:59 +02:00
disable-all: true
issues:
exclude-rules:
- path: _test\.go
linters:
- scopelint
- bodyclose
- unconvert
- gocritic
2020-07-21 04:42:05 +02:00
- gosec
- goconst
2024-03-04 02:42:00 +02:00
- revive
- path: _test\.go
linters:
- revive
text: "dot-imports:"
# If we have tests in shared test folders, these can be less strictly linted
- path: tests/.*_tests\.go
linters:
2023-10-24 16:31:32 +02:00
- revive
- bodyclose
- stylecheck