xcompat/.luacheckrc
wsor4035 1860fa44b6
drop sound_api global legacy support as not known to be used (#2)
* drop sound_api support as not known to be used

* update .luacheckrc and move some globals over to read

* move one global back in .luacheckrc
2024-02-25 12:03:21 -05:00

22 lines
525 B
Lua

unused_args = false
allow_defined_top = true
exclude_files = {".luacheckrc"}
globals = {
"minetest", "xcompat",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
--luac
"math", "table",
-- Builtin
"vector", "ItemStack", "dump", "DIR_DELIM", "VoxelArea", "Settings", "PcgRandom", "VoxelManip", "PseudoRandom",
--mod produced
"default", "mcl_sounds", "ks_sounds", "nodes_nature", "fl_stone", "fl_topsoil", "fl_trees", "hades_sounds", "rp_sounds",
}