mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
b68322d469
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
41 lines
683 B
YAML
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
|
|
|