sing-box/.golangci.yml

27 lines
443 B
YAML
Raw Permalink Normal View History

2022-06-30 21:27:56 +08:00
linters:
disable-all: true
enable:
- gofumpt
- govet
2023-02-09 21:01:48 +08:00
- gci
- 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
staticcheck:
2023-02-09 21:01:48 +08:00
go: '1.20'