Add luacheckrc to the repo

This commit is contained in:
Jordach 2018-09-12 22:20:19 +01:00
parent f5ab3e7e7e
commit e73ee00f75

18
.luacheckrc Normal file
View File

@ -0,0 +1,18 @@
unused_args = false
allow_defined_top = true
globals = {
"minetest",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
-- Builtin
"vector", "ItemStack",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
-- MTG
"core", "default", "atmos", "mcore", "wardrobe"
}