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
So my editor now requires the existance of that eslint.js file.
Suggested solution:
Add the missing kcd-scripts in dependencies of react-testing-library.
When I install kcd-scripts alongside @testing-library/react in my package devDependencies (and restart TS server in vs code), then the error goes away. But I would expect that the expected behaviour is to just install @testing-library/react and not get the error in the first place 🙂
The text was updated successfully, but these errors were encountered:
Hi @justin-calleja, thanks for taking the time to open this :)
It looks like you're looking for the shared-tsconfig.json which is being used in our tsconfig.
The eslint configs you've added here are there for a few years now and nothing was changed there. Also, the eslint+tsconfig are only used as a dev dependency..
Can you please add your tsconfig so we'll be able to look into what's going on and why you're trying to load the shared-tsconfig.json file?
@testing-library/react
: 11.2.5What you did:
install "@testing-library/react": "^11.2.5" via adding directly in package.json and
lerna bootstrap
.What happened:
Problem description:
A dependency of react-testing-library is not being installed. In react-testing-library's package.json:
So my editor now requires the existance of that eslint.js file.
Suggested solution:
Add the missing kcd-scripts in dependencies of react-testing-library.
When I install
kcd-scripts
alongside@testing-library/react
in my package devDependencies (and restart TS server in vs code), then the error goes away. But I would expect that the expected behaviour is to just install@testing-library/react
and not get the error in the first place 🙂The text was updated successfully, but these errors were encountered: