Add GitHub workflow (#149)

This commit is contained in:
David Leal
2020-03-25 11:46:35 -06:00
committed by GitHub
parent c0bd9977be
commit 606ba6a1a3
8 changed files with 37 additions and 11 deletions

18
.luacheckrc Normal file
View File

@ -0,0 +1,18 @@
unused_args = false
allow_defined_top = true
max_line_length = 999
globals = {
"unified_inventory",
}
read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},
"minetest", "vector",
"ItemStack", "datastorage",
}
files["callbacks.lua"].ignore = { "player", "draw_lite_mode" }
files["bags.lua"].ignore = { "player" }