mirror of
				https://github.com/mt-mods/xcompat.git
				synced 2025-10-31 16:25:27 +01:00 
			
		
		
		
	Minor fixes and cleanup (#3)
This commit is contained in:
		
							
								
								
									
										29
									
								
								.luacheckrc
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								.luacheckrc
									
									
									
									
									
								
							| @@ -1,22 +1,17 @@ | ||||
| unused_args = false | ||||
| allow_defined_top = true | ||||
|  | ||||
| exclude_files = {".luacheckrc"} | ||||
|  | ||||
| globals = { | ||||
|     "minetest", "xcompat", | ||||
| 	"minetest", | ||||
| 	"xcompat", | ||||
| } | ||||
|  | ||||
| read_globals = { | ||||
|     string = {fields = {"split"}}, | ||||
|     table = {fields = {"copy", "getn"}}, | ||||
|  | ||||
|     --luac | ||||
|     "math", "table", | ||||
|  | ||||
|     -- Builtin | ||||
|     "vector", "ItemStack", "dump", "DIR_DELIM", "VoxelArea", "Settings", "PcgRandom", "VoxelManip", "PseudoRandom", | ||||
|  | ||||
|     --mod produced | ||||
|     "default", "mcl_sounds", "ks_sounds", "nodes_nature", "fl_stone", "fl_topsoil", "fl_trees", "hades_sounds", "rp_sounds", | ||||
| } | ||||
| 	"default", | ||||
| 	"mcl_sounds", | ||||
| 	"ks_sounds", | ||||
| 	"nodes_nature", | ||||
| 	"fl_stone", | ||||
| 	"fl_topsoil", | ||||
| 	"fl_trees", | ||||
| 	"hades_sounds", | ||||
| 	"rp_sounds", | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user