From 490a32dea66e12fea368534571fb042c9bbe62d5 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Thu, 12 Jun 2025 08:57:26 -0400 Subject: [PATCH] Taming the linter again the third --- .luacheckrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.luacheckrc b/.luacheckrc index 97d783a..3113389 100755 --- a/.luacheckrc +++ b/.luacheckrc @@ -19,10 +19,22 @@ read_globals = { "next", "rawget" } + +files['spec/'].read_globals = { + 'describe', + 'it', + 'assert', -- Busted extends the standard assert library. + 'before_each', + 'after_each', + 'setup', + 'teardown' +} + exclude_files = { "lib/", "src/" } + -- Ignore specific, non-critical warnings by their numeric code. -- 111: Line is too long -- 211: Unused variable