mirror of
				https://github.com/minetest-mods/lightning.git
				synced 2025-10-25 19:55:26 +02:00 
			
		
		
		
	add .luacheckrc and fix common errors
This commit is contained in:
		
				
					committed by
					
						 SmallJoker
						SmallJoker
					
				
			
			
				
	
			
			
			
						parent
						
							39bd36cc17
						
					
				
				
					commit
					3136adbe00
				
			
							
								
								
									
										19
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
|  | ||||
| globals = { | ||||
| 	"lightning" | ||||
| } | ||||
|  | ||||
| read_globals = { | ||||
| 	-- Stdlib | ||||
| 	string = {fields = {"split"}}, | ||||
| 	table = {fields = {"copy", "getn"}}, | ||||
| 	"PcgRandom", | ||||
|  | ||||
| 	-- Minetest | ||||
| 	"minetest", | ||||
| 	"vector", "ItemStack", | ||||
| 	"dump", | ||||
|  | ||||
| 	-- mods | ||||
| 	"default", "fire" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user