Add GitHub workflow and LuaCheck

This commit is contained in:
Panquesito7
2020-05-25 13:21:47 -05:00
parent f015cc1631
commit df220bef35
2 changed files with 30 additions and 0 deletions

19
.luacheckrc Normal file
View File

@@ -0,0 +1,19 @@
unused_args = false
allow_defined_top = true
max_line_length = 999
ignore = {
"name", "drops", "i",
}
globals = {
"minetest",
}
read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},
"vector", "ItemStack",
"dump",
}