mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-24 08:52:25 +02:00
dd05e7ff0b
* add new linters and fix issues * fix deprecated warnings * simplify return * update CHANGELOG * fix staticcheck issues * remove a deprecated linter, minor fixes of variable initialization
36 lines
544 B
YAML
36 lines
544 B
YAML
run:
|
|
deadline: 120s
|
|
linters:
|
|
enable:
|
|
- govet
|
|
- golint
|
|
- ineffassign
|
|
- goconst
|
|
- deadcode
|
|
- gofmt
|
|
- goimports
|
|
- gosimple
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- bodyclose
|
|
- dogsled
|
|
- goprintffuncname
|
|
- misspell
|
|
- prealloc
|
|
- scopelint
|
|
- stylecheck
|
|
- unconvert
|
|
- gocritic
|
|
disable-all: true
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- scopelint
|
|
- bodyclose
|
|
- unconvert
|
|
- gocritic
|