Chore: use golangci-lint config file

This commit is contained in:
Dreamacro
2022-02-19 00:08:51 +08:00
parent a0221bf897
commit 03e4b5d525
3 changed files with 17 additions and 3 deletions

14
.golangci.yaml Normal file
View 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