diff options
author | rubenwardy <rubenwardy@gmail.com> | 2018-04-04 15:35:56 +0100 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2018-04-04 15:36:27 +0100 |
commit | 2c4da0b88a29c74b2990efe40e8f26ed6ddac9f9 (patch) | |
tree | 00514d2dd8095682057c711f65f005027575a272 /.luacheckrc | |
parent | 81aa0f1c82575f7ffe7faa99335523cba5e67bd2 (diff) |
Add luacheck
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 14 |
1 files changed, 14 insertions, 0 deletions
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", +} |