Localize global variables and strengthen luacheck config (#34)

This commit is contained in:
OgelGames
2026-07-03 02:05:27 +10:00
committed by GitHub
parent e716e79640
commit abe667472e
4 changed files with 39 additions and 52 deletions
+2 -20
View File
@@ -1,25 +1,7 @@
std = "lua51+minetest"
unused_args = false
allow_defined_top = true
max_line_length = 999
stds.minetest = {
read_globals = {
"minetest",
"VoxelManip",
"VoxelArea",
"PseudoRandom",
"ItemStack",
"default",
table = {
fields = {
"copy",
},
},
}
}
read_globals = {
"minetest",
"default",
"pipeworks",
}