1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2025-06-28 14:16:22 +02:00

Add luacheck and fix warnings

This commit is contained in:
Louis Royer
2020-08-26 02:11:18 +02:00
parent dd36f8b63e
commit ea92403fa3
9 changed files with 124 additions and 59 deletions

View File

@ -1,17 +1,30 @@
std = "lua51+minetest"
unused_args = false
allow_defined_top = true
max_line_length = 999
max_comment_line_length = 999
read_globals = {
"DIR_DELIM",
"minetest", "core",
"dump",
"vector", "nodeupdate",
"VoxelManip", "VoxelArea",
"PseudoRandom", "ItemStack",
"intllib",
"default",
table = { fields = { "copy", "getn" } },
"biome_lib",
"stairs", "stairsplus",
stds.minetest = {
read_globals = {
"minetest",
"vector",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
table = {
fields = {
"copy",
},
},
"dump",
}
}
read_globals = {
"biome_lib",
"stairsplus",
"stairs",
"doors",
}