mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-30 09:16:52 +02:00
41 lines
713 B
YAML
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
|