Skip to content

Commit

Permalink
Merge pull request #908 from aireilly/freeze-vale-version
Browse files Browse the repository at this point in the history
Update Optional rule
  • Loading branch information
apinnick authored Jan 13, 2025
2 parents 12e2754 + 3bf4a30 commit 9a10ef1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vale/styles/OpenShiftAsciiDoc/NoOptionalTitles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
extends: existence
scope: raw
level: error
nonword: true
link: https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#assembly-file-metadata
message: "Do not begin a module or assembly title with 'Optional:'."
raw:
- '(?<!\/\/\s?={1,5}) Optional:'
tokens:
- '^={1,5} Optional:'

0 comments on commit 9a10ef1

Please sign in to comment.