2022-06-30 21:27:56 +08:00
|
|
|
linters:
|
2022-07-10 22:00:28 +08:00
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofumpt
|
|
|
|
- govet
|
2023-02-09 21:01:48 +08:00
|
|
|
- gci
|
2022-07-10 22:00:28 +08:00
|
|
|
- staticcheck
|
|
|
|
- paralleltest
|
2022-06-30 21:27:56 +08:00
|
|
|
|
2022-09-03 23:21:35 +08:00
|
|
|
run:
|
|
|
|
skip-dirs:
|
2023-02-07 14:53:08 +08:00
|
|
|
- transport/simple-obfs
|
|
|
|
- transport/clashssr
|
2022-09-03 23:21:35 +08:00
|
|
|
- transport/cloudflaretls
|
2023-02-18 14:55:47 +08:00
|
|
|
- transport/shadowtls/tls
|
|
|
|
- transport/shadowtls/tls_go119
|
2022-09-03 23:21:35 +08:00
|
|
|
|
2022-06-30 21:27:56 +08:00
|
|
|
linters-settings:
|
2023-02-09 21:01:48 +08:00
|
|
|
gci:
|
|
|
|
custom-order: true
|
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- prefix(github.com/sagernet/)
|
|
|
|
- default
|
2022-07-10 22:00:28 +08:00
|
|
|
staticcheck:
|
2023-02-09 21:01:48 +08:00
|
|
|
go: '1.20'
|