fix(lint): exclude common fire-and-forget patterns from errcheck

This commit is contained in:
Deivid Soto 2026-03-30 23:34:36 +02:00
parent 104820f4fe
commit c0fd8d3818
8 changed files with 25 additions and 12 deletions

View file

@ -43,7 +43,7 @@ func TestDirOverrideEnv(t *testing.T) {
func TestDirXDGOverride(t *testing.T) {
// Clear the custom env so XDG takes effect
_ = os.Unsetenv("UNARR_CONFIG_DIR")
os.Unsetenv("UNARR_CONFIG_DIR")
t.Setenv("XDG_CONFIG_HOME", "/xdg/config")
dir := Dir()