2022-02-19 00:08:51 +08:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2023-04-04 14:53:59 +08:00
|
|
|
- gci
|
2022-02-19 00:08:51 +08:00
|
|
|
- gofumpt
|
2023-04-04 14:53:59 +08:00
|
|
|
- gosimple
|
2022-02-19 00:08:51 +08:00
|
|
|
- govet
|
2023-04-04 14:53:59 +08:00
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- staticcheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- usestdlibvars
|
2022-02-19 00:08:51 +08:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gci:
|
2022-08-05 10:52:36 +08:00
|
|
|
custom-order: true
|
2022-02-19 00:08:51 +08:00
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- prefix(github.com/Dreamacro/clash)
|
|
|
|
- default
|
2022-03-16 12:10:13 +08:00
|
|
|
staticcheck:
|
2023-02-16 21:43:40 +08:00
|
|
|
go: '1.20'
|