Added luacheck config
This commit is contained in:
@@ -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",
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user