From 99aed87ba6443286bcc3398e640220816a90fcf6 Mon Sep 17 00:00:00 2001 From: ManuelBlanc Date: Fri, 26 Oct 2018 01:52:43 +0200 Subject: [PATCH] [Luacheck] Set VT globals as read-only This has no effect as the related warnings (121 and 122) are disabled. --- .luacheckrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index fef2922..710b6e2 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -22,7 +22,7 @@ stds["VMF"] = { } stds["VT1"] = { - globals = { + read_globals = { string = { fields = { "split" }}, debug = { fields = { "load_level", "level_loaded", "spawn_hero", "animation_log_specific_profile", "upvaluejoin", "upvalueid" @@ -415,7 +415,7 @@ stds["VT1"] = { } stds["VT2"] = { - globals = { + read_globals = { "IngameViewLayoutLogic", "HeroWindowIngameView", }, }