Added luacheck config
This commit is contained in:
@@ -43,11 +43,11 @@ jobs:
|
|||||||
cat << EOF > .luacheckrc
|
cat << EOF > .luacheckrc
|
||||||
std = {
|
std = {
|
||||||
globals = {
|
globals = {
|
||||||
"SpearheadConfig"
|
"SpearheadConfig", "lfs", "env", "net", "trigger", "timer", "Object",
|
||||||
|
"setmetatable", "table", "string", "math", "pairs", "ipairs", "tostring",
|
||||||
|
"require",
|
||||||
|
"Unit", "Group", "Airbase", "StaticObject"
|
||||||
},
|
},
|
||||||
read_globals = {
|
|
||||||
"lfs", "env", "net", "trigger", "timer", "Object"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
max_line_length = false
|
max_line_length = false
|
||||||
|
|||||||
Reference in New Issue
Block a user