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:
37
.luacheckrc
37
.luacheckrc
@ -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",
|
||||
}
|
||||
|
Reference in New Issue
Block a user