forked from mirror/gorm
feat: golangci add goimports and whitespace (#5835)
This commit is contained in:
parent
f82e9cfdbe
commit
5c8ecc3a2a
|
@ -9,3 +9,12 @@ linters:
|
||||||
- prealloc
|
- prealloc
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
- unparam
|
||||||
|
- goimports
|
||||||
|
- whitespace
|
||||||
|
|
||||||
|
linters-settings:
|
||||||
|
whitespace:
|
||||||
|
multi-func: true
|
||||||
|
goimports:
|
||||||
|
local-prefixes: gorm.io/gorm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue