Skip to content

Commit

Permalink
Updating like rule to tune for less false postives
Browse files Browse the repository at this point in the history
  • Loading branch information
aireilly committed Aug 15, 2024
1 parent 49b382d commit 9c2d7a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .vale/fixtures/RedHat/TermsWarnings/testvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ 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
make the transition
Expand Down
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
'(?<!.-)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 9c2d7a0

Please sign in to comment.