Fix luacheck; minor improvements (#27)
Fix luacheck; minor improvements
This commit is contained in:
commit
0ef1a94326
1 changed files with 13 additions and 7 deletions
20
.luacheckrc
20
.luacheckrc
|
@ -13,19 +13,19 @@ ignore = {
|
|||
"611", -- disable "line contains only whitespace"
|
||||
}
|
||||
|
||||
std = "+VT1+VMF"
|
||||
std = "+VT1+VT2+VMF"
|
||||
|
||||
stds["VMF"] = {
|
||||
globals = {
|
||||
"new_mod", "get_mod", "VMFMod", "VMFModsKeyMap", "VMFOptionsView", "VT1"
|
||||
}
|
||||
"new_mod", "get_mod", "VMFMod", "VMFModsKeyMap", "VMFOptionsView", "VT1",
|
||||
},
|
||||
}
|
||||
|
||||
stds["VT1"] = {
|
||||
globals = {
|
||||
read_globals = {
|
||||
string = { fields = { "split" }},
|
||||
debug = { fields = {
|
||||
"load_level", "level_loaded", "spawn_hero", "animation_log_specific_profile", "upvaluejoin", "upvalueid"
|
||||
"load_level", "level_loaded", "spawn_hero", "animation_log_specific_profile", "upvaluejoin", "upvalueid",
|
||||
}},
|
||||
table = { fields = {
|
||||
"merge", "table_to_array", "mirror_table", "tostring", "is_empty", "array_to_table", "reverse", "shuffle",
|
||||
|
@ -411,5 +411,11 @@ stds["VT1"] = {
|
|||
"TelemetryEvents", "debug_bot_transitions", "FreeFlightControllerSettings","ApexClothQuality",
|
||||
"UICalibrationView", "profiler_scopes_trace", "flow_callback_overcharge_reset_unit",
|
||||
"RandomTable_05_05", "POOL_blackboard", "PlayGoTutorialSystem",
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
stds["VT2"] = {
|
||||
read_globals = {
|
||||
"IngameViewLayoutLogic", "HeroWindowIngameView",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue