diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 9d50311..368c8c1 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -38,16 +38,17 @@ jobs: - name: Install luacheck run: luarocks install luacheck + # "lfs", + # "setmetatable", "getmetatable", "table", "string", "math", "pairs", "ipairs", + # "require", "type", "tostring", "io", "error", "pcall", "tonumber", + # "loadstring", + - name: Create LuaCheck Config run: | cat << EOF > .luacheckrc std = { + "lua51c", globals = { - "lfs", - "setmetatable", "getmetatable", "table", "string", "math", "pairs", "ipairs", - "require", "type", "tostring", "io", "error", "pcall", "tonumber", - "loadstring", - "SpearheadConfig", "SpearheadAPI", "GlobalCapCallBacks", "env", "net", "trigger", "timer", "Object", "land", "coord", "coalition", "Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world",