This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
Properly configure null ls with eslint_d and yarn pnp #1484
Unanswered
GabeDuarteM
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Yes, as you've noted the command resolver isn't appropriate for this case, since the goal of that is to find and use a local executable. Can you try enabling debug mode and see what |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋
I have a repo configured with yarn pnp, and I found very little info on how to configure it along with yarn pnp. I found some people using some
command_resolver.from_yarn_pnp()
(which I assume comes fromlocal command_resolver = require("null-ls.helpers.command_resolver")
?), but I have not found anything about that on the docs, and I'm also not sure if that would work witheslint_d
, which is a daemon that should be installed globally anyway. Based on this issue on eslint_d, it seems like I could use something like:but if I do that, I get
failed to decode json: Expected value but found invalid token at character 1 eslint_d [1, 1]
, so it seems to be erroring outis there an easy way of achieving this? I'll probably need something similar for prettierd as well
Beta Was this translation helpful? Give feedback.
All reactions