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