milvus/.golangci.yml
cai.zhang 0b478b614a Change Id to ID in go files according to golint check
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-13 15:17:18 +08:00

39 lines
648 B
YAML

run:
skip-dirs:
- build
- configs
- deployments
- docs
- scripts
- internal/core
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
service:
golangci-lint-version: 1.27.0 # use the fixed version to not introduce new linters unexpectedly