Skip to content

Commit

Permalink
Merge pull request #865 from aireilly/like
Browse files Browse the repository at this point in the history
tweak like rule
  • Loading branch information
aireilly authored Aug 15, 2024
2 parents 30b98c7 + e1c88e7 commit bd2c852
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
43 changes: 28 additions & 15 deletions .vale/fixtures/RedHat/TermsWarnings/testvalid.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
accurate
accelerate
accurate
act like
acts like
advance like
advances like
after
and
and so on
behave like
behaves like
camel case
can
change
Expand All @@ -20,8 +26,13 @@ enter
examine
fall back
fallback
feel like
feels like
firmware
function like
functions like
hostname
human-like
import
in languages other than English
in-house
Expand All @@ -31,41 +42,41 @@ invocable
issue
KB
kB
human-like
acts like
advances like
behaves like
feels like
functions like
looks like
moves like
operates like
performs like
reacts like
runs like
shifts like
works like
load
load balance
look like
looks like
make the transition
might
migrate
move
move like
moves like
non-English-language
not allowed
obtain
on-premise
on-site
open
operate like
operates like
perform like
performs like
plugin
preinstall
preinstalled
print
process
react like
reacts like
repository
roll back
rollback
run
run like
runs like
shift like
shifts like
start
start
stop
Expand All @@ -79,5 +90,7 @@ use
valid
verified
when
work like
works like
you
you
2 changes: 1 addition & 1 deletion .vale/styles/RedHat/TermsWarnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ swap:
"bottom(?:-)?left": lower left|lower-left
"bottom(?:-)?right": lower right|lower-right
"non-English(?!-language?)": in languages other than English|non-English-language
'(?<!.-|acts |performs |behaves |operates |functions |reacts |moves |looks |feels |works |runs |advances |shifts )like': such as
'(?<!.-|acts? |performs? |behaves? |operates? |functions? |reacts? |moves? |looks? |feels? |works? |runs? |advances? |shifts? )like': such as
'(?<!\/)etc(?!\/)': and so on
'\b(?:eg)': for example
'\b(?:ie)': that is
Expand Down

0 comments on commit bd2c852

Please sign in to comment.