sing-box/.golangci.yml

27 lines
443 B
YAML
Raw Normal View History

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