2022-06-30 13:27:56 +00:00
|
|
|
linters:
|
2022-07-10 14:00:28 +00:00
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofumpt
|
|
|
|
- govet
|
2023-02-09 13:01:48 +00:00
|
|
|
- gci
|
2022-07-10 14:00:28 +00:00
|
|
|
- staticcheck
|
|
|
|
- paralleltest
|
2024-08-18 03:17:01 +00:00
|
|
|
- ineffassign
|
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
|
2022-07-10 14:00:28 +00:00
|
|
|
staticcheck:
|
2024-08-18 03:17:01 +00:00
|
|
|
checks:
|
|
|
|
- all
|
|
|
|
- -SA1003
|
|
|
|
|
|
|
|
run:
|
|
|
|
go: "1.23"
|
2024-12-29 10:39:22 +00:00
|
|
|
build-tags:
|
|
|
|
- with_gvisor
|
|
|
|
- with_quic
|
|
|
|
- with_dhcp
|
|
|
|
- with_wireguard
|
|
|
|
- with_ech
|
|
|
|
- with_utls
|
|
|
|
- with_reality_server
|
|
|
|
- with_acme
|
|
|
|
- with_clash_api
|
2024-08-18 03:17:01 +00:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-dirs:
|
|
|
|
- transport/simple-obfs
|