From 2edc96f1f43c5564ba3e89688f3a68f73a5946b9 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Thu, 15 Apr 2021 14:19:11 +0200 Subject: [PATCH] add basic .luacheckrc file --- .luacheckrc | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000000..55ad4cd5ea --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,35 @@ +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" + } + }, +} \ No newline at end of file