mail/.luacheckrc
Niklp c5fd218415 Fix luacheck
Fix luacheck warnings in spam.lua

Fix global variable initialization (was needed only locally)

Add beerchat to luacheck
2024-02-01 14:23:03 +01:00

22 lines
372 B
Lua

globals = {
"mail",
}
read_globals = {
-- Stdlib
string = {fields = {"split"}},
table = {fields = {"copy", "getn", "indexof"}},
beerchat = {fields = {"has_player_muted_player", "execute_callbacks"}},
-- Minetest
"minetest",
"vector", "ItemStack",
"dump",
-- Deps
"unified_inventory", "default", "sfinv_buttons",
-- optional mods
"mtt", "canonical_name"
}