Add GitHub workflow and LuaCheck (#34)

* Add GitHub workflow and LuaCheck

* Fix LuaCheck warnings

* Improve README.md
This commit is contained in:
David Leal
2020-05-25 13:42:09 -05:00
committed by GitHub
parent f015cc1631
commit de38b20fa6
4 changed files with 35 additions and 6 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",
}