2022-02-19 00:08:51 +08:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofumpt
|
2022-03-16 12:10:13 +08:00
|
|
|
- staticcheck
|
2022-02-19 00:08:51 +08:00
|
|
|
- govet
|
2022-03-13 01:21:23 +08:00
|
|
|
# - gci
|
2022-03-16 22:00:20 +08:00
|
|
|
- gofmt
|
|
|
|
- goimports
|
2022-02-19 00:08:51 +08:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gci:
|
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- prefix(github.com/Dreamacro/clash)
|
|
|
|
- default
|
2022-03-16 12:10:13 +08:00
|
|
|
staticcheck:
|
|
|
|
go: '1.18'
|