You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up integration between tsserver and eslint in order for linting to show up in my IDE via typescript-language-server. This involves adding the following line to tsconfig.json:
However, while this works when running outside of Yarn, when running inside of Yarn (via the version the sdks package ships), it no longer works. Running strace seems to indicate that while a standard tsserver binary attempts to search for the package in node_modules, Yarn doesn't do it at all. Two questions:
Is it known that language service plugins are broken under Yarn PNP?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to set up integration between
tsserver
andeslint
in order for linting to show up in my IDE viatypescript-language-server
. This involves adding the following line totsconfig.json
:However, while this works when running outside of Yarn, when running inside of Yarn (via the version the
sdks
package ships), it no longer works. Runningstrace
seems to indicate that while a standardtsserver
binary attempts to search for the package innode_modules
, Yarn doesn't do it at all. Two questions:Beta Was this translation helpful? Give feedback.
All reactions