1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2025-07-13 21:40:22 +02:00

make luacheck semi sane

This commit is contained in:
unknown
2022-07-01 15:01:43 -04:00
parent b3884dd59e
commit 12bcdfe57b
4 changed files with 46 additions and 32 deletions

View File

@ -1,28 +1,25 @@
std = "lua51+minetest"
unused_args = false
allow_defined_top = true
max_line_length = 999
max_comment_line_length = 999
stds.minetest = {
read_globals = {
"minetest",
"vector",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
table = {
fields = {
"copy",
},
},
"dump",
}
exclude_files = {".luacheckrc"}
globals = {
"minetest",
"vector",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
"dump",
"moretrees",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
"biome_lib",
"stairsplus",
"stairs",