From 65ef36b6b5654910e6e18263a187733171a27140 Mon Sep 17 00:00:00 2001 From: Wesley Ray Date: Thu, 12 Jun 2025 07:49:48 -0400 Subject: [PATCH] Configuring luacheck to be a little more reasonable --- .luacheckrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.luacheckrc b/.luacheckrc index 2de98b9..44ad5ea 100755 --- a/.luacheckrc +++ b/.luacheckrc @@ -18,4 +18,19 @@ read_globals = { "type", "next", "rawget" +} +exclude_files = { + "lib/", + "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' +ignore = { + "W111", + "W211", + "W212", + "W213" } \ No newline at end of file