minetest-mm/mods/spectator_mode/.luacheckrc
2024-12-19 12:55:40 +01:00

20 lines
404 B
Lua

-- Exclude regression tests / unit tests
exclude_files = {
"**/spec/**",
}
globals = {
player_api = { fields = { "player_attached" } },
"spectator_mode",
}
read_globals = {
-- Stdlib
string = { fields = { "split" } },
table = { fields = { "copy", "insert" } },
-- Minetest
"minetest",
vector = { fields = { "copy", "new", "round" } },
beerchat = { fields = { "has_player_muted_player" } }
}