This commit is contained in:
DNEGEL3125 2025-12-18 12:21:03 +08:00 committed by GitHub
commit 159fc30ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,17 +1,18 @@
version: "2"
linters: linters:
disable-all: true default: none
enable: enable:
- gofumpt
- staticcheck - staticcheck
- govet - govet
- gci
linters-settings: formatters:
gci: enable:
custom-order: true - gofumpt
sections: - gci
- standard settings:
- prefix(github.com/metacubex/mihomo) gci:
- default custom-order: true
staticcheck: sections:
go: '1.19' - standard
- prefix(github.com/metacubex/mihomo)
- default