From 2c4da0b88a29c74b2990efe40e8f26ed6ddac9f9 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 4 Apr 2018 15:35:56 +0100 Subject: Add luacheck --- .luacheckrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .luacheckrc (limited to '.luacheckrc') diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..f6b420e --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,14 @@ +unused_args = false +allow_defined_top = true + +globals = { + "minetest", "awards", +} + +read_globals = { + string = {fields = {"split"}}, + table = {fields = {"copy", "getn"}}, + "vector", "default", "ItemStack", + "dump", "sfinv", "intllib", + "unified_inventory", +} -- cgit v1.2.3