Skip to content

Commit

Permalink
change from existence to substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
neal-timpe committed Sep 6, 2023
1 parent 9787bb0 commit d5ceaa4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
1 change: 0 additions & 1 deletion .vale/fixtures/RedHat/VisualLanguage/testinvalid.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ blue
purple
orange
violet
next to
between
under
27 changes: 9 additions & 18 deletions .vale/styles/RedHat/VisualLanguage.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
---
extends: existence
extends: substitution
ignorecase: true
level: suggestion
link: https://redhat-documentation.github.io/vale-at-red-hat/docs/main/reference-guide/visuallanguage/
message: "It is acceptable to use visual styling in documentation, but do not rely solely on visual aspects to convey meaning."
tokens:
- above
- below
- right
- left
- top
- bottom
- green
- yellow
- blue
- purple
- orange
- violet
- next to
- between
- under
message: "Do not rely solely on visual language to describe an item."
action:
name: replace
swap:
- above: later|previous|preceding
- below: earlier|later|following
- top: beginning
- bottom: end

0 comments on commit d5ceaa4

Please sign in to comment.