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