1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-10 12:10:20 +01:00
minetest_game/.luacheckrc

23 lines
505 B
Plaintext
Raw Normal View History

unused_args = false
allow_defined_top = true
read_globals = {
"DIR_DELIM",
"minetest", "core",
"dump",
"vector",
"VoxelManip", "VoxelArea",
2017-10-27 13:34:41 +02:00
"PseudoRandom", "PcgRandom",
"ItemStack",
"Settings",
"unpack",
2017-10-27 13:34:41 +02:00
-- Silence errors about custom table methods.
table = { fields = { "copy", "indexof" } }
}
-- Overwrites minetest.handle_node_drops
files["mods/creative/init.lua"].globals = { "minetest" }
-- Don't report on legacy definitions of globals.
files["mods/default/legacy.lua"].global = false