Initial commit
This commit is contained in:
25
.golangci.yml
Normal file
25
.golangci.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user