Skip to content

No diagnostics with modern yarn #775

@aswils

Description

@aswils

Since v3.4.0, diagnostics within code editors have stopped working when inside of a modern yarn repository.

I have tested with both neovim and VSCode. Up to v3.3.1, diagnostics are reported as expected. Note that manual linting via the command line still works.

I believe the change would have occurred in #736 , as it is the only change brought in v3.4.0. Looking through the code, I'm not sure what exactly is the culprit, hence the issue report instead of a fix.

Here is a repo I have created in order to demonstrate the regression. The main branch uses the latest version of eslint-plugin-prettier. For ease of testing, I have provided another branch, downgrade, which uses v3.3.1 to demonstrate a working state.

If you need any more documentation or logging, please just let me know!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions