From 4ade029461813dfdc3f2cccf4c6232eb805d1de9 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Thu, 12 Jun 2025 07:58:24 -0400 Subject: [PATCH] Configuring luacheck to be a little more reasonable part 3 --- .luacheckrc | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 7d1ba9b..6110761 100755 --- a/.luacheckrc +++ b/.luacheckrc @@ -24,16 +24,13 @@ exclude_files = { "src/" } -- Ignore specific, non-critical warnings by their numeric code. --- W111: Line is too long --- W211: Unused variable --- W212: Unused argument --- W213: Unused argument 'self' --- The pattern '*' applies the rules to every file luacheck analyzes. +-- 111: Line is too long +-- 211: Unused variable +-- 212: Unused argument +-- 213: Unused argument 'self' ignore = { - ['*'] = { - "W111", -- line is too long - "W211", -- unused variable - "W212", -- unused argument - "W213" -- unused argument 'self' - } + "111", + "211", + "212", + "213" } \ No newline at end of file