From 501a6204f8c69cc7be23ebee7c05d49838f676db Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Mon, 25 Oct 2021 00:31:22 +1100 Subject: [PATCH] luacheckrc: allow busted's "match" global for spec/ (#8369) This was fixed in luacheck 0.24.0 but our CI still uses an older version at the moment. Signed-off-by: Aleksa Sarai --- .luacheckrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.luacheckrc b/.luacheckrc index 83697c4f9..95a9697ef 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -137,6 +137,7 @@ exclude_files = { -- don't balk on busted stuff in spec files["spec/unit/*"].std = "+busted" files["spec/unit/*"].globals = { + "match", -- can be removed once luacheck 0.24.0 or higher is used "package", "requireBackgroundRunner", "stopBackgroundRunner",