This repository has been archived on 2022-08-17. 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 19:25:52 +05:30
run:
timeout: 2m
2020-03-19 14:33:08 +05:30
2019-12-18 19:25:52 +05:30
linters-settings:
golint:
min-confidence: 0.1
goimports:
local-prefixes: github.com/dexidp/dex
2019-12-18 19:25:52 +05:30
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 19:25:52 +05:30
# TODO: fix linter errors before enabling
# - unparam
# - scopelint
# - gosec
# - gocyclo
# - lll
# - goconst
# - errcheck
# - dupl