From 22f54039caabc6881d90671fc4731d96c4c98a22 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 7 Oct 2021 15:36:22 -0400 Subject: [PATCH] Added luacheck file Oooh, something to help my projects that will help my code. --- .luacheckrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .luacheckrc diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..45f3046 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,19 @@ +unused_args = false +allow_defined_top = true + +globals = { + "minetest", +} + +read_globals = { + string = {fields = {"split"}}, + table = {fields = {"copy", "getn"}}, + + -- Builtin + "vector", "ItemStack", + "dump", "DIR_DELIM", "VoxelArea", "Settings", + + -- MTG + "default", "sfinv", "creative", +} +