Add luacheck CI and drop node_ownership remnants (#44)

`node_ownership` is long dead, and pollutes the global namespace. Support dropped after ~7 years.

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
Buckaroo Banzai
2020-06-08 21:52:11 +02:00
committed by GitHub
parent aa3e35acbe
commit 66bd6a9b1d
3 changed files with 25 additions and 33 deletions

View File

@ -1,5 +1,4 @@
unused_args = false
allow_defined_top = true
read_globals = {
"DIR_DELIM",
@ -10,9 +9,16 @@ read_globals = {
"PseudoRandom", "ItemStack",
"AreaStore",
"default",
"factions",
table = { fields = { "copy", "getn" } }
}
globals = {
"minetest"
"minetest",
-- mod namespace
"areas"
}
files["legacy.lua"] = {
ignore = {"512"}
}