diff options
-rw-r--r-- | .vale | 26 | ||||
-rw-r--r-- | ci/vale/VyOS/Terminology.yml | 2 |
2 files changed, 5 insertions, 23 deletions
@@ -1,6 +1,9 @@ StylesPath = ci/vale MinAlertLevel = suggestion +SkippedScopes = script, style, pre, figure, img, a, code + + [*.rst] BasedOnStyles = VyOS @@ -10,25 +13,4 @@ vale.Hedging = NO vale.Redundancy = NO vale.Repetition = YES vale.Uncomparables = NO -proselint.GenderBias = YES - -# Custom block scoping (see the regex101 links for unit tests): -# -# Rule #1 (https://regex101.com/r/TJQLJ4/2/tests): Ignore `{%comment%}` blocks. This -# keeps Vale from flagging 'endcomment' as a spelling mistake. -# -# Rule #2 (https://regex101.com/r/7VA2lV/2/tests): Ignore `<div>`s and `<section>`s -# that specify `markdown="1"` since it isn't supported by Vale's Markdown -# parser (https://github.com/russross/blackfriday/issues/184). -# -# Rule #3 (https://regex101.com/r/NxFflU/1/tests): Ignore `{% include %}`-codeblock -# pairs. -BlockIgnores = (?s)({%\s?comment\s?%}.+?{%\s?endcomment\s?%}), \ -(?s)(<(?:div|section)[^>]*markdown="1"[^>]*>.*?</(?:div|section)>), \ -(?s)((?: *{% include [^%]+ %}\n)? *~~~.*?~~~~?) - -# Custom inline scoping (see the regex101 links for unit tests): -# -# Rule #1 (https://regex101.com/r/cTiITH/2/tests): Ignore `{% include %}`s, which -# contain file paths. -TokenIgnores = ({%\s?include\s? {{ [^}]+ }}[^%]+\s?%}) +proselint.GenderBias = NO diff --git a/ci/vale/VyOS/Terminology.yml b/ci/vale/VyOS/Terminology.yml index 57c1e6d6..cd0c5089 100644 --- a/ci/vale/VyOS/Terminology.yml +++ b/ci/vale/VyOS/Terminology.yml @@ -1,7 +1,7 @@ extends: substitution message: Prefer '%s' over '%s' ignorecase: false -level: warning +level: error swap: vyos: VyOS Vyos: VyOS |