Skip to content

Commit

Permalink
Add PDocs phrasing rule, and enforce 'menu' over 'navigation' (#11)
Browse files Browse the repository at this point in the history
* Add PDocs phrasing rule, and enforce 'menu' over 'navigation'

* Update styles/PDocs/PhrasingSuggestions.yml

---------

Co-authored-by: John Mulhausen <[email protected]>
  • Loading branch information
hazel-nut and johndmulhausen authored Jun 28, 2024
1 parent 69ccb10 commit 138f151
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions styles/PDocs/PhrasingSuggestions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: substitution
message: "Use '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
navigation: menu

0 comments on commit 138f151

Please sign in to comment.