Add luacheck

This commit is contained in:
rubenwardy
2018-04-04 15:35:56 +01:00
parent 81aa0f1c82
commit 2c4da0b88a
4 changed files with 41 additions and 15 deletions

14
.luacheckrc Normal file
View File

@ -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",
}