From 95dcff36de77b31a562290bf5cd6cc23dd0d0f51 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 22 Oct 2025 10:08:00 -0700 Subject: [PATCH] Ensure os package is forbidden in lint --- .golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 5212cb09a7..d08578a81b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -79,7 +79,7 @@ linters: pkg: ^(path|path/filepath)$ - pattern: '.*' msg: a host implementation should likely be used instead - pkg: ^os/ + pkg: ^os(/|$) - pattern: 'GOOS' msg: a host implementation should likely be used instead pkg: ^runtime$