mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	CI: lint: detect indent errors in json (MR 19)
Lines in policies.json start with ".
This commit is contained in:
		
							parent
							
								
									7f5dddd387
								
							
						
					
					
						commit
						445c1da339
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,7 @@ lint_spaces() {
 | 
			
		|||
 | 
			
		||||
	lint \
 | 
			
		||||
		"indent with 4 spaces" \
 | 
			
		||||
		-P '^([ ]{1,3}|[ ]{5,7})[a-zA-Z\[\.\/]'
 | 
			
		||||
		-P '^([ ]{1,3}|[ ]{5,7})[a-zA-Z\[\.\/\"]'
 | 
			
		||||
 | 
			
		||||
	lint \
 | 
			
		||||
		"spaces at the end of lines are not allowed" \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue