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 <cyphar@cyphar.com>
pull/8373/head
Aleksa Sarai 2 years ago committed by GitHub
parent d0d2d0d1d6
commit 501a6204f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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",

Loading…
Cancel
Save