mirror of
https://github.com/mt-mods/hangglider.git
synced 2025-06-28 14:36:24 +02:00
add luacheck and fix common errors
also fixes https://github.com/pandorabox-io/pandorabox.io/issues/493
This commit is contained in:
21
.luacheckrc
Normal file
21
.luacheckrc
Normal file
@ -0,0 +1,21 @@
|
||||
globals = {
|
||||
"hangglider",
|
||||
"areas"
|
||||
}
|
||||
|
||||
read_globals = {
|
||||
-- Stdlib
|
||||
string = {fields = {"split", "trim"}},
|
||||
table = {fields = {"copy", "getn"}},
|
||||
|
||||
-- Minetest
|
||||
"minetest",
|
||||
"vector", "ItemStack",
|
||||
"dump", "dump2",
|
||||
"VoxelArea",
|
||||
|
||||
-- deps
|
||||
"wardzones",
|
||||
"minetestd",
|
||||
"player_monoids"
|
||||
}
|
Reference in New Issue
Block a user