Chore: use golangci-lint config file
This commit is contained in:
14
.golangci.yaml
Normal file
14
.golangci.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- gofumpt
|
||||
- megacheck
|
||||
- govet
|
||||
- gci
|
||||
|
||||
linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- prefix(github.com/Dreamacro/clash)
|
||||
- default
|
Reference in New Issue
Block a user