This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2019-12-18 13:55:52 +00:00
|
|
|
run:
|
2020-10-17 21:02:29 +00:00
|
|
|
timeout: 2m
|
2020-03-19 09:03:08 +00:00
|
|
|
|
2019-12-18 13:55:52 +00:00
|
|
|
linters-settings:
|
2020-10-17 21:02:29 +00:00
|
|
|
golint:
|
|
|
|
min-confidence: 0.1
|
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/dexidp/dex
|
2019-12-18 13:55:52 +00:00
|
|
|
|
|
|
|
linters:
|
2020-10-17 21:02:29 +00:00
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- bodyclose
|
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
|
|
|
- gochecknoinits
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- golint
|
|
|
|
- gosimple
|
2020-10-17 21:54:27 +00:00
|
|
|
- gocritic
|
2020-10-17 21:02:29 +00:00
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- interfacer
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- stylecheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- whitespace
|
2019-12-18 13:55:52 +00:00
|
|
|
|
2020-10-17 21:02:29 +00:00
|
|
|
# TODO: fix linter errors before enabling
|
|
|
|
# - unparam
|
|
|
|
# - scopelint
|
|
|
|
# - gosec
|
|
|
|
# - gocyclo
|
|
|
|
# - lll
|
|
|
|
# - goconst
|
|
|
|
# - errcheck
|
|
|
|
# - dupl
|