From 138f1519742ba0401a6d2766d92dcc4ba1479cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hazel=20Vird=C3=B3?= Date: Fri, 28 Jun 2024 15:45:44 -0400 Subject: [PATCH] Add PDocs phrasing rule, and enforce 'menu' over 'navigation' (#11) * Add PDocs phrasing rule, and enforce 'menu' over 'navigation' * Update styles/PDocs/PhrasingSuggestions.yml --------- Co-authored-by: John Mulhausen --- styles/PDocs/PhrasingSuggestions.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 styles/PDocs/PhrasingSuggestions.yml diff --git a/styles/PDocs/PhrasingSuggestions.yml b/styles/PDocs/PhrasingSuggestions.yml new file mode 100644 index 0000000..4ccbbb0 --- /dev/null +++ b/styles/PDocs/PhrasingSuggestions.yml @@ -0,0 +1,8 @@ +extends: substitution +message: "Use '%s' instead of '%s'." +ignorecase: true +level: error +action: + name: replace +swap: + navigation: menu