azure-sdk-for-go/eng/.golangci.yml

20 строки
475 B
YAML

#reference https://github.com/golangci/golangci-lint#config-file for more options
run:
# ensure that go.mod files are current
modules-download-mode: readonly
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs-use-default: true
timeout: 10m
linters:
enable:
- gocritic
linters-settings:
gocritic:
enabled-checks:
- evalOrder
disabled-checks:
- ifElseChain