1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

update .luacheckrc

This commit is contained in:
Lars Mueller 2025-05-31 03:09:09 +02:00
parent 3de3bead7b
commit 8bf38e3a71

View file

@ -29,10 +29,17 @@ read_globals = {
"check", "check",
"PseudoRandom", "PseudoRandom",
"PcgRandom", "PcgRandom",
"Matrix4",
"Rotation",
string = {fields = {"split", "trim"}}, string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}}, table = {fields = {"copy", "getn", "indexof", "insert_all", "key_value_swap"}},
math = {fields = {"hypot", "round"}}, math = {fields = {"hypot", "round"}},
-- Busted-style unit testing
"describe",
"it",
assert = {fields = {"same", "equals"}},
} }
globals = { globals = {