Add a luacheckrc

This commit is contained in:
HybridDog 2021-03-07 18:17:37 +01:00 committed by Pierre-Adrien Langrognet
parent e5cdeef141
commit 28292dc2a5

22
.luacheckrc Normal file
View File

@ -0,0 +1,22 @@
read_globals = {
-- Defined by Minetest
"vector", "PseudoRandom", "VoxelArea", "table",
-- Mods
"digiline", "default", "creative",
-- Required for the mesechest registration
minetest = {
fields = {
register_lbm = {read_only = false},
register_node = {read_only = false},
registered_on_player_receive_fields = {
read_only = false,
other_fields = true,
},
},
other_fields = true
}
}
globals = {"moremesecons", "mesecon"}
ignore = {"212", "631", "422", "432"}