dev-environment-files icon indicating copy to clipboard operation
dev-environment-files copied to clipboard

ESLint

Open kamalkech opened this issue 1 year ago • 7 comments

Could not parse linter output due to: Expected value but found invalid token at character 1 output: Error: No ESLint configuration found in .....

kamalkech avatar May 05 '24 20:05 kamalkech

Are you using the flat file config for eslint? I get the same error, and I am using flat file config, per eslint's latest standard

galaxyblur avatar Jun 09 '24 00:06 galaxyblur

#74

dnnr1 avatar Jun 22 '24 21:06 dnnr1

Having same issue, @dan1xk fix doesn't work on my end.

edit: After changing eslint_d for eslint_lsp, everything works as expected but it's weird as the eslint_d setup worked before 🤔

kecerud avatar Jun 25 '24 09:06 kecerud

That's weird 😣, have you tried deleting the nvim data and installing everything again? @kecerud

dnnr1 avatar Jun 27 '24 18:06 dnnr1

@dan1xk yup, tried to do clean install but still getting the error.

Screenshot 2024-06-28 at 09 33 19

kecerud avatar Jun 28 '24 07:06 kecerud

Hey! I believe I've encountered this before. Could you try running: :!eslint_d stop and :!eslint_d start within Neovim to restart eslint_d and then possibly open and close Neovim? Let me know if that resolves the issue.

josean-dev avatar Jun 28 '24 16:06 josean-dev

@josean-dev this actually fixed the issue, huh weird I thought I already tried it out before commenting but it seems like I haven't.

kecerud avatar Jul 01 '24 13:07 kecerud