diff --git a/.golangci.yaml b/.golangci.yaml index 1de71ad8..23f8c5b9 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,17 +1,18 @@ +version: "2" linters: - disable-all: true + default: none enable: - - gofumpt - staticcheck - govet - - gci -linters-settings: - gci: - custom-order: true - sections: - - standard - - prefix(github.com/metacubex/mihomo) - - default - staticcheck: - go: '1.19' +formatters: + enable: + - gofumpt + - gci + settings: + gci: + custom-order: true + sections: + - standard + - prefix(github.com/metacubex/mihomo) + - default