add luacheckrc

This commit is contained in:
NatureFreshMilk 2019-09-05 08:37:01 +02:00
parent 4860c82137
commit 87f79ba3f2

21
.luacheckrc Normal file
View File

@ -0,0 +1,21 @@
unused_args = false
allow_defined_top = true
globals = {
"minetest",
"mesecon"
}
read_globals = {
-- Stdlib
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
-- Minetest
"vector", "ItemStack",
"dump",
-- optional deps
"default", "stairsplus", "xpanes"
}