From 73839ebf3f7555950f74cb90debd06f8e40a56c1 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:55:43 +0200 Subject: [PATCH] vale: don't flag alerts as acronyms > [!TIP] was being flagged as an undefined acronym Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- _vale/Docker/Acronyms.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_vale/Docker/Acronyms.yml b/_vale/Docker/Acronyms.yml index ce19d88246..2838e0d71f 100644 --- a/_vale/Docker/Acronyms.yml +++ b/_vale/Docker/Acronyms.yml @@ -4,7 +4,7 @@ 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' +first: '\b[^!]([A-Z]{3,5})\b' second: '(?:\b[A-Za-z]+(?: |\n))+\(([A-Z]{3,5})\)' # ... with the exception of these: exceptions: