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:
		
							
								
								
									
										10
									
								
								.luacheckrc
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.luacheckrc
									
									
									
									
									
								
							@@ -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"}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user