Skip to content

existence rule skips match in RST #831

@mikemckiernan

Description

@mikemckiernan

Check for existing issues

  • Completed

Environment

Ubuntu 20.04 in WSL2
Direct download
3.4.1 (and compiled from source 3.4.2)

Describe the bug / provide steps to reproduce it

Difficult to rep, but the screencap of mached.PNG in a reproducer repo shows that "BIG needles" is flagged as an existence match several times, but on line 15 it is not matched.

You can rep the issue by cloning https://github.com/mikemckiernan/troubleshoot-vale, and then running vale --config ./.vale.ini ./Needle.rst. Line 15 is not included in the response.

I've spent some time trying to narrow this down more. Unfortunately, I'm not familiar with the code or much with Go.

I did step through some of the code in the VS Code debugger and can say that an alert object is created on lint.go:283, but it's somehow discarded by subsequent processing that I haven't noodled through.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions