Fix all luacheck warnings #1

Merged
gergely merged 4 commits from luacheck-fixes into main 2025-12-16 20:18:26 +01:00
Showing only changes of commit fa99e22c79 - Show all commits

View File

@@ -3,7 +3,8 @@ allow_defined_top = true
exclude_files = {".luacheckrc"}
globals = {
"minetest",
-- This is needed so running luacheck on a single file will recognize it
"stripped_tree",
}
read_globals = {
@@ -11,7 +12,7 @@ read_globals = {
table = {fields = {"copy", "getn"}},
-- Builtin
"vector", "ItemStack",
"minetest", "core", "vector", "ItemStack",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
-- MTG