update .luacheckrc and move some globals over to read

This commit is contained in:
wsor4035 2024-02-25 11:54:11 -05:00
parent d3ddfb09b1
commit b832ca00da

View File

@ -4,9 +4,7 @@ allow_defined_top = true
exclude_files = {".luacheckrc"}
globals = {
"minetest", "sound_api", "xcompat", "default",
"mcl_sounds", "ks_sounds", "nodes_nature", "fl_stone",
"fl_topsoil", "fl_trees", "hades_sounds", "rp_sounds",
"xcompat",
}
read_globals = {
@ -20,5 +18,7 @@ read_globals = {
"vector", "ItemStack", "dump", "DIR_DELIM", "VoxelArea", "Settings", "PcgRandom", "VoxelManip", "PseudoRandom",
--mod produced
"fl_dyes", "fl_hand", "fl_tools", "mobkit", "fl_tnt", "i3",
"minetest", "default", "mcl_sounds", "ks_sounds",
"nodes_nature", "fl_stone", "fl_topsoil", "fl_trees",
"hades_sounds", "rp_sounds",
}