diff --git a/.binny.yaml b/.binny.yaml index a7c9abb60..965d3c1c9 100644 --- a/.binny.yaml +++ b/.binny.yaml @@ -26,7 +26,7 @@ tools: # used for linting - name: golangci-lint version: - want: v2.6.2 + want: v2.7.2 method: github-release with: repo: golangci/golangci-lint @@ -58,7 +58,7 @@ tools: # used to release all artifacts - name: goreleaser version: - want: v2.13.0 + want: v2.13.1 method: github-release with: repo: goreleaser/goreleaser diff --git a/.golangci.yaml b/.golangci.yaml index 0978c1753..eacba69a6 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -49,6 +49,12 @@ linters: - common-false-positives - legacy - std-error-handling + rules: + # internal/os contains OS feature detection logic; the name reflects its purpose + - linters: + - revive + path: internal/os/ + text: "var-naming: avoid package names that conflict" paths: - third_party$ - builtin$