Skip to content

Commit

Permalink
Merge pull request #587 from aireilly/simple-words
Browse files Browse the repository at this point in the history
Add quick fix to simple words
  • Loading branch information
aireilly authored Jul 28, 2023
2 parents 1677e19 + 70a3f3f commit 7dc040d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vale/fixtures/RedHat/SimpleWords/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ sufficient
terminate
transmit
utilization
utilize
utilize
3 changes: 2 additions & 1 deletion .vale/styles/RedHat/SimpleWords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ ignorecase: true
level: suggestion
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/simplewords/
message: "Use simple language. Consider using '%s' rather than '%s'."
# source: "IBM - Conversational style; http://www.plainlanguage.gov/howto/wordsuggestions/simplewords.cfm"
action:
name: replace
swap:
"approximate(?:ly)?": about
"objective(?! C?)": aim|goal
Expand Down

0 comments on commit 7dc040d

Please sign in to comment.