add luacheckrs stub

master
BuckarooBanzay 2020-09-02 17:55:53 +02:00
parent 46d1ead160
commit 513569cd42
1 changed files with 32 additions and 0 deletions

32
.luacheckrc Normal file
View File

@ -0,0 +1,32 @@
unused_args = false
globals = {
"wieldview",
"armor",
"inventory_plus"
}
read_globals = {
-- Stdlib
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
-- Minetest
"vector", "ItemStack",
"dump", "VoxelArea",
-- deps
"default",
"minetest",
"unified_inventory",
"wardrobe",
"player_monoids",
"armor_monoid",
"sfinv",
"ARMOR_MATERIALS",
"ARMOR_FIRE_NODES",
"pova",
"skins",
"u_skins"
}