mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 17:11:29 +00:00
27 lines
443 B
YAML
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'
|