milvus/.golangci.yml
cai.zhang b68322d469 Open golangci-lint check
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-12 17:58:05 +08:00

41 lines
683 B
YAML

run:
skip-dirs:
- build
- configs
- deployments
- docs
- scripts
- internal/core
- internal/proto
linters-settings:
golint:
min-confidence: 0.8
misspell:
locale: US
linters:
disable-all: true
enable:
- typecheck
- goimports
- misspell
- govet
- golint
- ineffassign
- gosimple
issues:
exclude-use-default: false
exclude:
- should have a package comment
- should have comment
- should be of the form
- should not use dot imports
- which can be annoying to use
- AllocId
service:
golangci-lint-version: 1.27.0 # use the fixed version to not introduce new linters unexpectedly