Skip to content

Commit bc6b73e

Browse files
authored
Merge pull request #919 from aireilly/addon
Addons (plural) is not caught in filter
2 parents df36041 + 4179b7e commit bc6b73e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.vale/fixtures/RedHat/Hyphens/testinvalid.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ad-hoc
22
addon
3+
addons
34
auto-configure
45
auto-generated
56
auto-install

.vale/styles/RedHat/Hyphens.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ action:
88
name: replace
99
# swap maps tokens in the form "bad: good"
1010
swap:
11-
"(?<!.-)addon": add-on
11+
'(?<!.-)addon\b': add-on
12+
"(?<!.-)addons": add-ons
1213
"broad cast|broad-cast": broadcast
13-
"call out|call-out": callout
14+
'call out\b|call-out\b': callout
15+
"call outs|call-outs": callouts
1416
"comma delimited|commadelimited": comma-delimited
1517
"command driven|commanddriven": command-driven
1618
"meta-data|meta data": metadata
1719
"open-source|OpenSource|opensource": open source
1820
"over-ride|over ride": override
1921
"plug-ins|plug ins": plugins
20-
"plug-in|plug in": plugin
22+
'plug-in\b|plug in\b': plugin
2123
"super-user|super user": superuser
2224
"timeframe|time-frame": time frame
2325
"up-grade|up grade": upgrade

0 commit comments

Comments
 (0)