2019-12-18 19:25:52 +05:30
|
|
|
run:
|
2020-10-18 02:32:29 +05:30
|
|
|
timeout: 2m
|
2020-03-19 14:33:08 +05:30
|
|
|
|
2019-12-18 19:25:52 +05:30
|
|
|
linters-settings:
|
2020-10-18 02:32:29 +05:30
|
|
|
golint:
|
|
|
|
min-confidence: 0.1
|
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/dexidp/dex
|
2019-12-18 19:25:52 +05:30
|
|
|
|
|
|
|
linters:
|
2020-10-18 02:32:29 +05:30
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- bodyclose
|
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
|
|
|
- gochecknoinits
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- golint
|
|
|
|
- gosimple
|
2020-10-18 03:24:27 +05:30
|
|
|
- gocritic
|
2020-10-18 02:32:29 +05:30
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- interfacer
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- stylecheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- whitespace
|
2019-12-18 19:25:52 +05:30
|
|
|
|
2020-10-18 02:32:29 +05:30
|
|
|
# TODO: fix linter errors before enabling
|
|
|
|
# - unparam
|
|
|
|
# - scopelint
|
|
|
|
# - gosec
|
|
|
|
# - gocyclo
|
|
|
|
# - lll
|
|
|
|
# - goconst
|
|
|
|
# - errcheck
|
|
|
|
# - dupl
|