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.
dex/.golangci.yml

46 lines
631 B
YAML
Raw Normal View History

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