Open heyanurag opened 2 weeks ago
I think I'm in the same boat. I've been trying to use the tricks that are found in this thread: https://github.com/zed-industries/zed/issues/5612 - It worked once for a split second (I could see the lint errors), but then disappeared despite having the same configuration.
We're also in a NX monorepo with a root-level ".eslinrc.json" and each application/library has its respective ".eslintrc.json" that extends the root config (and some even extend with their own rules)
Are you sure there are no TypeScript errors on the same line? If there are, they can prevent ESLint errors displaying in the same places: https://github.com/zed-industries/zed/issues/12670 .
Edit: Or maybe it was the other way around.
@deep-cognite that's exactly whats happening with me. The eslint errors show up for a few seconds and then disappear on its own.
@jaydenseric Pretty sure there are no TypeScript errors. Everything works fine on vscode but not on zed with the exact same config.
Check for existing issues
Describe the bug / provide steps to reproduce it
Previously I was able to view eslint errors in the typescript files open in my editor. Since the latest update it has stopped working. I tried restarting the workspace, completely quit and restart zed, even reinstalled zed but it didn't solve the issue.
The eslint server logs work fine and it loads up. But I don't see the errors/warnings in the editor itself.
Here is my
.eslint.json
:Here is my config settings for zed
settings.json
:Environment
Zed: v0.140.5 (Zed) OS: macOS 14.5.0 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Output of the same files in zed vs vscode:
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log