From 210d70995bff631b78ec38236364e2c1fe0c2ff5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 14 Aug 2026 09:06:56 -0700 Subject: [PATCH] .hlint.yaml: add nub to restricted functions. --- .hlint.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.hlint.yaml b/.hlint.yaml index afc8c6ff1..7ab1a5e7c 100644 --- a/.hlint.yaml +++ b/.hlint.yaml @@ -6,6 +6,10 @@ # - arguments: [--color=auto, --cpp-ansi] +- functions: + - {name: nub, within: []} +# - {name: Prelude.error, within: [Tests.Lua,Tests.Lua.*]} + # Ignore some builtin hints # - ignore: {name: "Avoid lambda"}