From cdf2c0ff90e8e3c2c988f6b1798770b66bc4dcb5 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Thu, 15 Dec 2016 13:20:32 -0800 Subject: [PATCH] Add luacheck config file. Run `luacheck .` in the toplevel folder and it'll check all the code. There are plenty of warnings out there to fix atm. --- .luacheckrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..6ffe4fd --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,16 @@ +unused_args = false +allow_defined_top = true + +read_globals = { + "DIR_DELIM", + "minetest", "core", + "dump", + "vector", "nodeupdate", + "VoxelManip", "VoxelArea", + "PseudoRandom", "ItemStack", + "intllib", + "default", + "stairsplus", + "signs_lib", +} +