Added luacheck config
PR Prerequisites / Lua Check (pull_request) Failing after 24s
PR Prerequisites / Bundles Without Errors (pull_request) Failing after 23s

This commit is contained in:
2026-09-20 11:16:50 +02:00
parent 51e480f877
commit 8f6cccf4e0
+8 -4
View File
@@ -43,10 +43,14 @@ jobs:
cat << EOF > .luacheckrc cat << EOF > .luacheckrc
std = { std = {
globals = { globals = {
"SpearheadConfig", "lfs", "env", "net", "trigger", "timer", "Object", "lfs",
"setmetatable", "table", "string", "math", "pairs", "ipairs", "tostring", "setmetatable",getmetatable", "table", "string", "math", "pairs", "ipairs",
"require", "require", "type", "tostring", "io", "error", "pcall", "tonumber",
"Unit", "Group", "Airbase", "StaticObject"
"SpearheadConfig",
"env", "net", "trigger", "timer", "Object", "land", "coord", "coalition"
"Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world",
}, },
} }