mirror of
				https://github.com/SmallJoker/exchange_shop.git
				synced 2025-11-04 00:15:23 +01:00 
			
		
		
		
	Add luacheck
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/luacheck.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/luacheck.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
name: build
 | 
			
		||||
jobs:
 | 
			
		||||
  lint:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@master
 | 
			
		||||
      - name: lint
 | 
			
		||||
        uses: Roang-zero1/factorio-mod-luacheck@master
 | 
			
		||||
        with:
 | 
			
		||||
          luacheckrc_url: ""
 | 
			
		||||
							
								
								
									
										18
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								.luacheckrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
max_line_length = 100
 | 
			
		||||
 | 
			
		||||
read_globals = {
 | 
			
		||||
	"DIR_DELIM",
 | 
			
		||||
	"dump",
 | 
			
		||||
	"VoxelManip", "VoxelArea",
 | 
			
		||||
	"PseudoRandom", "ItemStack",
 | 
			
		||||
	"AreaStore",
 | 
			
		||||
	"default",
 | 
			
		||||
	"intllib",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
globals = {
 | 
			
		||||
	"minetest",
 | 
			
		||||
	"exchange_shop",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ignore = {"212/self"}
 | 
			
		||||
		Reference in New Issue
	
	Block a user