From 87f79ba3f23e6ef1126c269fcdcc204947097961 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Thu, 5 Sep 2019 08:37:01 +0200 Subject: [PATCH] add luacheckrc --- .luacheckrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..5fcaf02 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,21 @@ +unused_args = false +allow_defined_top = true + +globals = { + "minetest", + "mesecon" +} + +read_globals = { + -- Stdlib + string = {fields = {"split"}}, + table = {fields = {"copy", "getn"}}, + + -- Minetest + "vector", "ItemStack", + "dump", + + -- optional deps + "default", "stairsplus", "xpanes" + +}