Open michelle-purcell opened 2 years ago
I wasn't able to replicate this one @michelle-purcell , is it still an issue?
Thanks, @rohennes for testing. I just retested this one and it's OK now. I think we can put this down to an intermittent issue with the VS Code extension as I can no longer reproduce it. I'll reopen if it reoccurs. :+1:
@rohennes -I spoke too soon!
It's back in VS Code V 1.71.2 with Vale extension v0.15.2.
Something odd going on there. I think it's related to the environment where by using
occurs. I can replicate this by shuffling the sentences around in the testvalid.adoc:
Moving the content around moves the error to different instances of by using.
However if I change the style to add . at the beginning of the regex, it fixes the issue: `".(?<!by) using": by using|that uses`
I'll open a PR and see if others can test it.
@rohennes - Thanks Ronan :+1:
Think we need a sequence rule for this one: https://vale.sh/docs/topics/styles/#sequence
Opened a Vale issue: https://github.com/errata-ai/vale/issues/674
Describe the bug
vale-at-red-hat flags a suggestion for content that is already style guide compliant.
' by using' triggers an illegitimate vale suggestion to use 'by using'
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. the linter should ignore this line because 'by' already precedes 'using'.