X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.luacheckrc;h=a922bdea9af7950a7777b8125dc98c1099e3157a;hb=5daafc9d336d3f946854874e56a38ae9ac130811;hp=3ab6e10c8938c310c3ee369d718ee2adba20555b;hpb=1173ff0c13a07dec2ede3166378dc5f50fff37b3;p=dragonfireclient.git diff --git a/.luacheckrc b/.luacheckrc index 3ab6e10c8..a922bdea9 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -20,7 +20,7 @@ read_globals = { string = {fields = {"split", "trim"}}, table = {fields = {"copy", "getn", "indexof", "insert_all"}}, - math = {fields = {"hypot"}}, + math = {fields = {"hypot", "round"}}, } globals = { @@ -72,3 +72,11 @@ files["builtin/mainmenu"] = { "PLATFORM", }, } + +files["builtin/common/tests"] = { + read_globals = { + "describe", + "it", + "assert", + }, +}