diff --git a/.luacheckrc b/.luacheckrc index a568fc8..b21b60b 100644 --- a/.luacheckrc +++ b/.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", - } -} \ No newline at end of file + }, +} + +stds["VT2"] = { + read_globals = { + "IngameViewLayoutLogic", "HeroWindowIngameView", + }, +}