Skip to content

Commit

Permalink
Merge pull request #686 from aireilly/add-hyphen-words
Browse files Browse the repository at this point in the history
Adding rules for pre- and post-install, pre-configure
  • Loading branch information
aireilly authored Nov 1, 2023
2 parents 8862bf5 + 3a7d420 commit 934b05e
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .vale/fixtures/RedHat/Hyphens/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ plug ins
plug-in
plug-ins
post-editing
post-install
post-installation
post-mortem
post-operation
Expand All @@ -157,10 +158,12 @@ pre-apply
pre-assembled
pre-cache
pre-compile
pre-configure
pre-defined
pre-enrollment
pre-establish
pre-formatted
pre-install
pre-installation
pre-operational
pre-process
Expand Down
5 changes: 4 additions & 1 deletion .vale/fixtures/RedHat/Spelling/testvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ plugins
Podman
postediting
PostgreSQL
postinstall
postinstallation
postmortem
postoperation
Expand All @@ -429,13 +430,15 @@ precache
precompile
precompiled
precompiles
preconfigure
preconfigured
Preconfigured
predefined
preenrollment
preestablish
preformatted
pregenerated
preinstall
preinstallation
preoperational
prepend
Expand Down Expand Up @@ -570,10 +573,10 @@ Sysctl
sysctls
Sysctls
Systemd
Temurin
Tekton
Telekom
Templated
Temurin
Tensorflow
Texinfo
Theia
Expand Down
37 changes: 20 additions & 17 deletions .vale/styles/RedHat/Hyphens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ action:
name: replace
# swap maps tokens in the form "bad: good"
swap:
'(?<!.-)addon': add-on
'broad cast|broad-cast': broadcast
'call out|call-out': callout
'comma delimited|commadelimited': comma-delimited
'command driven|commanddriven': command-driven
'meta-data|meta data': metadata
'open-source|OpenSource|opensource': open source
'over-ride|over ride': override
'plug-ins|plug ins': plugins
'plug-in|plug in': plugin
'super-user|super user': superuser
'timeframe|time-frame': time frame
'up-grade|up grade': upgrade
'up-selling|up selling': upselling
'up-stream|up stream': upstream
'up-time|up time': uptime
"(?<!.-)addon": add-on
"broad cast|broad-cast": broadcast
"call out|call-out": callout
"comma delimited|commadelimited": comma-delimited
"command driven|commanddriven": command-driven
"meta-data|meta data": metadata
"open-source|OpenSource|opensource": open source
"over-ride|over ride": override
"plug-ins|plug ins": plugins
"plug-in|plug in": plugin
"super-user|super user": superuser
"timeframe|time-frame": time frame
"up-grade|up grade": upgrade
"up-selling|up selling": upselling
"up-stream|up stream": upstream
"up-time|up time": uptime
ad-hoc: ad hoc
auto-configure: autoconfigure
auto-generated: autogenerate
Expand Down Expand Up @@ -158,21 +158,24 @@ swap:
over-ride: override
over-strike: overstrike
post-editing: postediting
post-install: postinstall
post-installation: postinstallation
post-mortem: postmortem
post-operation: postoperation
post-requisite: postrequisite
power down: turn off|power off
power down: turn off|power off
power up: power on|turn on
poweroff: power-off
pre-apply: preapply
pre-assembled: preassembled
pre-cache: precache
pre-compile: precompile
pre-configure: preconfigure
pre-defined: predefined
pre-enrollment: preenrollment
pre-establish: preestablish
pre-formatted: preformatted
pre-install: preinstall
pre-installation: preinstallation
pre-operational: preoperational
pre-process: preprocess
Expand Down
6 changes: 4 additions & 2 deletions .vale/styles/RedHat/Spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ filters:
- "[oO]verstrike"
- "[pP]luggable"
- "[pP]ostediting"
- "[Pp]ostinstall"
- "[pP]ostinstallation"
- "[pP]ostoperation"
- "[pP]ostrequisite"
Expand All @@ -140,6 +141,7 @@ filters:
- "[pP]reenrollment"
- "[pP]reformatted"
- "[pP]regenerated"
- "[Pp]reinstall"
- "[pP]reinstallation"
- "[pP]reoperational"
- "[pP]repend"
Expand All @@ -163,9 +165,9 @@ filters:
- "[rR]ecertifications"
- "[rR]eenabled"
- "[rR]eentrant"
- "[rR]efreshable"
- "[rR]eindex"
- "[rR]eindexing"
- "[rR]efreshable"
- "[rR]eshard"
- "[rR]esharding"
- "[rR]eshards"
Expand Down Expand Up @@ -229,9 +231,9 @@ filters:
- "[uU]psell"
- "[uU]pselling"
- "[vV]alidator"
- "I/O"
- "Let\\'s Encrypt"
- '\.NET'
- 'I/O'
- 'Node\.js'
- ACLs
- adoc
Expand Down

0 comments on commit 934b05e

Please sign in to comment.