fix: 禁用 goimports linter - 使用 gofmt 替代,避免导入顺序问题
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
linters-settings:
|
linters-settings:
|
||||||
goimports:
|
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
disable-all: true
|
disable-all: true
|
||||||
enable:
|
enable:
|
||||||
- errcheck
|
- errcheck
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
|
||||||
- gosimple
|
- gosimple
|
||||||
- govet
|
- govet
|
||||||
- ineffassign
|
- ineffassign
|
||||||
|
|||||||
Reference in New Issue
Block a user