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