Skip to content

Commit 934b05e

Browse files
authored
Merge pull request #686 from aireilly/add-hyphen-words
Adding rules for pre- and post-install, pre-configure
2 parents 8862bf5 + 3a7d420 commit 934b05e

File tree

4 files changed

+31
-20
lines changed

4 files changed

+31
-20
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ plug ins
149149
plug-in
150150
plug-ins
151151
post-editing
152+
post-install
152153
post-installation
153154
post-mortem
154155
post-operation
@@ -157,10 +158,12 @@ pre-apply
157158
pre-assembled
158159
pre-cache
159160
pre-compile
161+
pre-configure
160162
pre-defined
161163
pre-enrollment
162164
pre-establish
163165
pre-formatted
166+
pre-install
164167
pre-installation
165168
pre-operational
166169
pre-process

.vale/fixtures/RedHat/Spelling/testvalid.adoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ plugins
418418
Podman
419419
postediting
420420
PostgreSQL
421+
postinstall
421422
postinstallation
422423
postmortem
423424
postoperation
@@ -429,13 +430,15 @@ precache
429430
precompile
430431
precompiled
431432
precompiles
433+
preconfigure
432434
preconfigured
433435
Preconfigured
434436
predefined
435437
preenrollment
436438
preestablish
437439
preformatted
438440
pregenerated
441+
preinstall
439442
preinstallation
440443
preoperational
441444
prepend
@@ -570,10 +573,10 @@ Sysctl
570573
sysctls
571574
Sysctls
572575
Systemd
573-
Temurin
574576
Tekton
575577
Telekom
576578
Templated
579+
Temurin
577580
Tensorflow
578581
Texinfo
579582
Theia

.vale/styles/RedHat/Hyphens.yml

+20-17
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ action:
88
name: replace
99
# swap maps tokens in the form "bad: good"
1010
swap:
11-
'(?<!.-)addon': add-on
12-
'broad cast|broad-cast': broadcast
13-
'call out|call-out': callout
14-
'comma delimited|commadelimited': comma-delimited
15-
'command driven|commanddriven': command-driven
16-
'meta-data|meta data': metadata
17-
'open-source|OpenSource|opensource': open source
18-
'over-ride|over ride': override
19-
'plug-ins|plug ins': plugins
20-
'plug-in|plug in': plugin
21-
'super-user|super user': superuser
22-
'timeframe|time-frame': time frame
23-
'up-grade|up grade': upgrade
24-
'up-selling|up selling': upselling
25-
'up-stream|up stream': upstream
26-
'up-time|up time': uptime
11+
"(?<!.-)addon": add-on
12+
"broad cast|broad-cast": broadcast
13+
"call out|call-out": callout
14+
"comma delimited|commadelimited": comma-delimited
15+
"command driven|commanddriven": command-driven
16+
"meta-data|meta data": metadata
17+
"open-source|OpenSource|opensource": open source
18+
"over-ride|over ride": override
19+
"plug-ins|plug ins": plugins
20+
"plug-in|plug in": plugin
21+
"super-user|super user": superuser
22+
"timeframe|time-frame": time frame
23+
"up-grade|up grade": upgrade
24+
"up-selling|up selling": upselling
25+
"up-stream|up stream": upstream
26+
"up-time|up time": uptime
2727
ad-hoc: ad hoc
2828
auto-configure: autoconfigure
2929
auto-generated: autogenerate
@@ -158,21 +158,24 @@ swap:
158158
over-ride: override
159159
over-strike: overstrike
160160
post-editing: postediting
161+
post-install: postinstall
161162
post-installation: postinstallation
162163
post-mortem: postmortem
163164
post-operation: postoperation
164165
post-requisite: postrequisite
165-
power down: turn off|power off
166+
power down: turn off|power off
166167
power up: power on|turn on
167168
poweroff: power-off
168169
pre-apply: preapply
169170
pre-assembled: preassembled
170171
pre-cache: precache
171172
pre-compile: precompile
173+
pre-configure: preconfigure
172174
pre-defined: predefined
173175
pre-enrollment: preenrollment
174176
pre-establish: preestablish
175177
pre-formatted: preformatted
178+
pre-install: preinstall
176179
pre-installation: preinstallation
177180
pre-operational: preoperational
178181
pre-process: preprocess

.vale/styles/RedHat/Spelling.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ filters:
132132
- "[oO]verstrike"
133133
- "[pP]luggable"
134134
- "[pP]ostediting"
135+
- "[Pp]ostinstall"
135136
- "[pP]ostinstallation"
136137
- "[pP]ostoperation"
137138
- "[pP]ostrequisite"
@@ -140,6 +141,7 @@ filters:
140141
- "[pP]reenrollment"
141142
- "[pP]reformatted"
142143
- "[pP]regenerated"
144+
- "[Pp]reinstall"
143145
- "[pP]reinstallation"
144146
- "[pP]reoperational"
145147
- "[pP]repend"
@@ -163,9 +165,9 @@ filters:
163165
- "[rR]ecertifications"
164166
- "[rR]eenabled"
165167
- "[rR]eentrant"
168+
- "[rR]efreshable"
166169
- "[rR]eindex"
167170
- "[rR]eindexing"
168-
- "[rR]efreshable"
169171
- "[rR]eshard"
170172
- "[rR]esharding"
171173
- "[rR]eshards"
@@ -229,9 +231,9 @@ filters:
229231
- "[uU]psell"
230232
- "[uU]pselling"
231233
- "[vV]alidator"
234+
- "I/O"
232235
- "Let\\'s Encrypt"
233236
- '\.NET'
234-
- 'I/O'
235237
- 'Node\.js'
236238
- ACLs
237239
- adoc

0 commit comments

Comments
 (0)