chore: update golangci-lint config file to v2

This commit is contained in:
DNEGEL3125 2025-11-12 10:01:15 +08:00
parent 0b3159bf9b
commit bd3ce2ba32

View File

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