diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..12cbefd --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,32 @@ +read_globals = { + "DIR_DELIM", + "minetest", "core", + "dump", "dump2", + "vector", + "VoxelManip", "VoxelArea", + "PseudoRandom", "PcgRandom", + "ItemStack", + "Settings", + "unpack", + table = { + fields = { + "copy", + "indexof", + "insert_all", + "key_value_swap", + } + }, + string = { + fields = { + "split", + "trim", + } + }, + math = { + fields = { + "hypot", + "sign", + "factorial" + } + }, +}