← All tasks
javascriptprettier/eslint-plugin-prettier #775Not a task: already works

No diagnostics with modern yarn

envgap__prettier__eslint-plugin-prettier-775

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
7264ed0a6cf47fc36befed32f459e7d875f5992c
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

prettier/eslint-plugin-prettier #775 · read the original issue
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](https://github.com/aswils/eslint-plugin-prettier-min-repro) 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!
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]