Closed alexpdp7 closed 2 years ago
I confirmed that this issue is valid. The rule does not catch a repeated word at the end of a sentence like "This is a test test."
Some notes to share my process with others who might be interested in doing similar work:
token
in .vale/styles/RedHat/RepeatedWords.yml
with the new regex.
Describe the bug
Apparently, https://github.com/redhat-documentation/vale-at-red-hat/blob/main/.vale/styles/RedHat/RepeatedWords.yml gets thrown off at the end of a sentence.
Examples:
To Reproduce
Steps to reproduce the behavior:
Expected behavior Should be flagged.
Additional context I haven't tested this with your full configuration- we use a different
.vale.ini
, so perhaps this doesn't happen with your full config (I fiddled a little bit copying token ignores, etc. from your.vale.ini
and it was still a problem.