mirror of
				https://github.com/minetest-mods/more_chests.git
				synced 2025-10-31 16:25:20 +01:00 
			
		
		
		
	Add .luacheckrc
This commit is contained in:
		
							
								
								
									
										25
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | |||||||
|  | std = "lua51+minetest" | ||||||
|  | unused_args = false | ||||||
|  | allow_defined_top = true | ||||||
|  | max_line_length = 999 | ||||||
|  |  | ||||||
|  | stds.minetest = { | ||||||
|  | 	read_globals = { | ||||||
|  | 		"minetest", | ||||||
|  | 		"VoxelManip", | ||||||
|  | 		"VoxelArea", | ||||||
|  | 		"PseudoRandom", | ||||||
|  | 		"ItemStack", | ||||||
|  | 		"default", | ||||||
|  | 		table = { | ||||||
|  | 			fields = { | ||||||
|  | 				"copy", | ||||||
|  | 			}, | ||||||
|  | 		}, | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  |  | ||||||
|  | read_globals = { | ||||||
|  | 	"pipeworks", | ||||||
|  | } | ||||||
|  |  | ||||||
| @@ -1,4 +1,5 @@ | |||||||
| function generate(size) | function generate(size) | ||||||
|  | 	local cfg | ||||||
| 	if size == "small" then | 	if size == "small" then | ||||||
| 		cfg = { | 		cfg = { | ||||||
| 			window_width = 8, | 			window_width = 8, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user