Skip to content

Commit

Permalink
Merge pull request #901 from jhradilek/termswarnings-police
Browse files Browse the repository at this point in the history
Warn when 'police' is used in place of 'policy'
  • Loading branch information
aireilly authored Dec 3, 2024
2 parents 8665a47 + 78de244 commit a9ebb1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vale/fixtures/RedHat/TermsWarnings/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ on-prem
on-premises
opt into
opting into
police
polices
preload
preloaded
print out
Expand Down
2 changes: 2 additions & 0 deletions .vale/fixtures/RedHat/TermsWarnings/testvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ operates like
perform like
performs like
plugin
policy
policies
preinstall
preinstalled
print
Expand Down
2 changes: 2 additions & 0 deletions .vale/styles/RedHat/TermsWarnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ swap:
may: might|can
on-premises|on-prem|on premise: on-premise|on-site|in-house
opt into|opting into: opt in
police: policy
polices: policies
preload: preinstall
preloaded: preinstalled
print out: print
Expand Down

0 comments on commit a9ebb1b

Please sign in to comment.