From dcbd96ee7514f1537a76354982d61fb050ce2fb5 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Thu, 12 Jun 2025 07:55:43 -0400 Subject: [PATCH] Configuring luacheck to be a little more reasonable part 2 --- .luacheckrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 44ad5ea..7d1ba9b 100755 --- a/.luacheckrc +++ b/.luacheckrc @@ -28,9 +28,12 @@ exclude_files = { -- W211: Unused variable -- W212: Unused argument -- W213: Unused argument 'self' +-- The pattern '*' applies the rules to every file luacheck analyzes. ignore = { - "W111", - "W211", - "W212", - "W213" + ['*'] = { + "W111", -- line is too long + "W211", -- unused variable + "W212", -- unused argument + "W213" -- unused argument 'self' + } } \ No newline at end of file