From 7fec8d842e68c58454fdad0de7d4fe4cab1d793a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Sun, 18 Aug 2024 11:17:01 +0800 Subject: [PATCH] Update golangci-lint configuration --- .golangci.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 3aa66572..6cf053f5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,14 +6,7 @@ linters: - gci - staticcheck - paralleltest - -run: - skip-dirs: - - transport/simple-obfs - - transport/clashssr - - transport/cloudflaretls - - transport/shadowtls/tls - - transport/shadowtls/tls_go119 + - ineffassign linters-settings: gci: @@ -23,4 +16,13 @@ linters-settings: - prefix(github.com/sagernet/) - default staticcheck: - go: '1.20' + checks: + - all + - -SA1003 + +run: + go: "1.23" + +issues: + exclude-dirs: + - transport/simple-obfs