Skip to content

Commit

Permalink
Update Optional rule
Browse files Browse the repository at this point in the history
  • Loading branch information
aireilly committed Jan 13, 2025
1 parent 3a70241 commit 67ccc83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@

//vale-fixture
// == Optional: more options

//vale-fixture
* Optional: do something
//vale-fixture
- Optional: do something
//vale-fixture
. Optional: do something
2 changes: 1 addition & 1 deletion .vale/styles/OpenShiftAsciiDoc/NoOptionalTitles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ level: error
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:'
- '(?<!\/\/\s?={1,5}|\*|-|\.) Optional:'

0 comments on commit 67ccc83

Please sign in to comment.