sing-box/.golangci.yml
2023-02-18 14:55:47 +08:00

27 lines
443 B
YAML

linters:
disable-all: true
enable:
- gofumpt
- govet
- gci
- staticcheck
- paralleltest
run:
skip-dirs:
- transport/simple-obfs
- transport/clashssr
- transport/cloudflaretls
- transport/shadowtls/tls
- transport/shadowtls/tls_go119
linters-settings:
gci:
custom-order: true
sections:
- standard
- prefix(github.com/sagernet/)
- default
staticcheck:
go: '1.20'