Skip to content

Help with custom Rule sets and Yarn v2 #2175

Answered by rayterrill
rayterrill asked this question in Q&A
Discussion options

You must be logged in to vote

Pretty sure I tracked this down - looks like yarn v2 by default uses PnP mode - not node_modules which spectral seems to expect. Fixed by flipping yarn back into node_modules mode by adding this to my project's .yarnrc.yml:

nodeLinker: node-modules

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rayterrill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant