mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-19 08:37:36 +08:00
60 lines
998 B
YAML
60 lines
998 B
YAML
version: "2"
|
|
run:
|
|
go: "1.24"
|
|
build-tags:
|
|
- with_gvisor
|
|
- with_quic
|
|
- with_dhcp
|
|
- with_wireguard
|
|
- with_utls
|
|
- with_acme
|
|
- with_clash_api
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- govet
|
|
- ineffassign
|
|
- paralleltest
|
|
- staticcheck
|
|
settings:
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
- -S1000
|
|
- -S1008
|
|
- -S1017
|
|
- -ST1003
|
|
- -QF1001
|
|
- -QF1003
|
|
- -QF1008
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- transport/simple-obfs
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofumpt
|
|
settings:
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- prefix(github.com/sagernet/)
|
|
- default
|
|
custom-order: true
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- transport/simple-obfs
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|