Add Continuous Integration and LuaCheck (#71)

All warnings have been fixed as well.
This commit is contained in:
David Leal
2022-06-16 05:06:35 -05:00
committed by GitHub
parent 03d424fea7
commit b769824d24
6 changed files with 30 additions and 6 deletions

13
.luacheckrc Normal file
View File

@ -0,0 +1,13 @@
unused_args = false
allow_defined_top = true
max_line_length = 999
globals = {
"minetest", "unified_inventory", "core",
"player_api", "clothing", "armor", "sfinv",
}
read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},
}