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
2023-10-24 16:37:57 +02:00

41 lines
713 B
YAML

run:
deadline: 120s
linters:
enable:
- govet
- ineffassign
- goconst
- gofmt
- goimports
- gosec
- gosimple
- staticcheck
- typecheck
- unused
- bodyclose
- dogsled
- goprintffuncname
- misspell
- prealloc
- exportloopref
- stylecheck
- unconvert
- gocritic
- revive
disable-all: true
issues:
exclude-rules:
- path: _test\.go
linters:
- scopelint
- bodyclose
- unconvert
- gocritic
- gosec
# If we have tests in shared test folders, these can be less strictly linted
- path: tests/.*_tests\.go
linters:
- revive
- bodyclose
- stylecheck