 c0642e1b84
			
		
	
	
		c0642e1b84
		
			
		
	
	
	
	
		
			
			- I added these all the way back in December 2019 in #6826, but only today realised that things have been failing unnoticeably because "warning" level exits with status code 0, so doesn't fail CI. - Upgrading to "error" level will enable us to see the style errors in our docs and fix them faster. - My editor also auto-formatted the YAML to have double quotes instead of single.
		
			
				
	
	
		
			9 lines
		
	
	
		
			229 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			229 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| extends: existence
 | |
| message: "No Oxford commas!"
 | |
| link: "https://github.com/Homebrew/brew/blob/HEAD/docs/Prose-Style-Guidelines.md#typographical-conventions"
 | |
| scope: sentence
 | |
| level: error
 | |
| tokens:
 | |
|   - '(?:[^,]+,){1,}\s\w+,\sand'
 |