From 47d92572c7217527bae44fe69331cfd1622aee72 Mon Sep 17 00:00:00 2001 From: Melanie Phoenix Date: Mon, 24 Apr 2023 09:47:04 -0400 Subject: [PATCH] add hlint rule for NonEmpty.unzip --- data/hlint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/data/hlint.yaml b/data/hlint.yaml index fab259fb5..11893a0fd 100644 --- a/data/hlint.yaml +++ b/data/hlint.yaml @@ -1122,6 +1122,7 @@ - warn: {lhs: "[] /= x", rhs: not (null x), name: Use null} - warn: {lhs: "\"\" /= x", rhs: not (null x), name: Use null} - warn: {lhs: "maybe []", rhs: foldMap} + - warn: {lhs: "Data.List.NonEmpty.unzip", rhs: "Data.Functor.unzip", name: "Avoid NonEmpty.unzip", note: "Because the function is being deprecated"} - group: name: generalise-for-conciseness