Added luacheck config
This commit is contained in:
@@ -46,15 +46,20 @@ jobs:
|
|||||||
- name: Create LuaCheck Config
|
- name: Create LuaCheck Config
|
||||||
run: |
|
run: |
|
||||||
cat << EOF > .luacheckrc
|
cat << EOF > .luacheckrc
|
||||||
std = {
|
|
||||||
"lua51c",
|
stds.spearhead_lib = {
|
||||||
globals = {
|
|
||||||
"SpearheadConfig", "SpearheadAPI", "GlobalCapCallBacks",
|
"SpearheadConfig", "SpearheadAPI", "GlobalCapCallBacks",
|
||||||
|
}
|
||||||
|
|
||||||
|
stds.dcs_lib = {
|
||||||
|
globals = {
|
||||||
"env", "net", "trigger", "timer", "Object", "land", "coord", "coalition",
|
"env", "net", "trigger", "timer", "Object", "land", "coord", "coalition",
|
||||||
"Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world",
|
"Unit", "Group", "Airbase", "StaticObject", "SceneryObject", "world",
|
||||||
"country", "missionCommands", "Controller", "Weapon", "atmosphere", "country"
|
"country", "missionCommands", "Controller", "Weapon", "atmosphere", "country"
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std = "lua51c+spearhead_lib+dcs_lib"
|
||||||
|
|
||||||
max_line_length = false
|
max_line_length = false
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user