mirror of https://github.com/docker/docs.git
				
				
				
			vale: fix TLA detection for Acronyms rule
The Acronyms rule was not consistently detecting TLAs Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									183b0dcdd0
								
							
						
					
					
						commit
						3cbec0b9f5
					
				|  | @ -4,8 +4,8 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms | |||
| level: warning | ||||
| ignorecase: false | ||||
| # Ensures that the existence of 'first' implies the existence of 'second'. | ||||
| first: '\b[^!]([A-Z]{3,5})\b' | ||||
| second: '(?:\b[A-Za-z]+(?: |\n))+\(([A-Z]{3,5})\)' | ||||
| first: '\b([A-Z]{3,5})\b' | ||||
| second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' | ||||
| # ... with the exception of these: | ||||
| exceptions: | ||||
|   - API | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue