26 lines
393 B
YAML
26 lines
393 B
YAML
# golangci-lint 配置文件
|
|
linters-settings:
|
|
errcheck:
|
|
check-type-assertions: true
|
|
goimports:
|
|
local-prefixes: github.com/beifan/trace-backend
|
|
govet:
|
|
check-shadowing: true
|
|
misspell:
|
|
locale: US
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- errcheck
|
|
- goimports
|
|
- govet
|
|
- misspell
|
|
- revive
|
|
- typecheck
|
|
|
|
run:
|
|
skip-dirs:
|
|
- testdata
|
|
timeout: 5m
|