Skip to content

Commit 77a349b

Browse files
dvdksnclaude
andcommitted
vale: exempt product names ending in '!' from Docker.Exclamation
The Docker.Exclamation rule flags any word followed by an exclamation point in bare prose, which trips on product names that legitimately end in '!' such as SDKMAN!. Link text and code are already exempt via IgnoredScopes, but bare-prose mentions were not. Add an exceptions list, matched against the word preceding the '!', so genuine exclamations are still caught while listed product names pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5c6048e commit 77a349b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

_vale/Docker/Exclamation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@ action:
77
params:
88
- trim_right
99
- "!"
10+
# Product names that legitimately end in an exclamation point. List the
11+
# name without the trailing "!" — the exception is matched against the
12+
# word that precedes the exclamation point.
13+
exceptions:
14+
- 'SDKMAN'
1015
tokens:
1116
- '\w+!(?:\s|$)'

0 commit comments

Comments
 (0)