1
0
mirror of https://github.com/lisacvuk/minetest-toolranks.git synced 2025-07-15 06:20:22 +02:00

add luacheck and github workflow (#13)

This commit is contained in:
OgelGames
2020-06-20 22:35:24 +10:00
committed by GitHub
parent 2ac0b96b47
commit 17994ed8db
2 changed files with 31 additions and 0 deletions

18
.luacheckrc Normal file
View File

@ -0,0 +1,18 @@
unused_args = false
allow_defined_top = true
globals = {
"minetest",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
-- Builtin
"vector", "ItemStack",
"dump", "DIR_DELIM", "VoxelArea", "Settings",
-- MTG
"default", "sfinv", "creative",
}