From 193893fdc3119df58cee75d6bf2b4000b2796560 Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 30 Jul 2023 16:23:23 +0200 Subject: [PATCH] .luacheckrc: allow loop-at-most-once this is being used intentionally sometimes --- .luacheckrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.luacheckrc b/.luacheckrc index 1eeaa2f09..85b736edf 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,7 +2,10 @@ unused_args = false allow_defined_top = true max_line_length = false redefined = false - +ignore = { + --this is used intentionally in the codebase sometimes + "512", -- Loop can be executed at most once. +} globals = { "minetest", "core", "doc",