From 8f6cccf4e0aad6c7fb01287d872ac9caf5ffe129 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Sun, 20 Sep 2026 11:16:50 +0200 Subject: [PATCH] Added luacheck config --- .gitea/workflows/pr.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 8b30f78..188da75 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -43,10 +43,14 @@ jobs: cat << EOF > .luacheckrc std = { globals = { - "SpearheadConfig", "lfs", "env", "net", "trigger", "timer", "Object", - "setmetatable", "table", "string", "math", "pairs", "ipairs", "tostring", - "require", - "Unit", "Group", "Airbase", "StaticObject" + "lfs", + "setmetatable",getmetatable", "table", "string", "math", "pairs", "ipairs", + "require", "type", "tostring", "io", "error", "pcall", "tonumber", + + "SpearheadConfig", + "env", "net", "trigger", "timer", "Object", "land", "coord", "coalition" + "Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world", + }, }