eslint-plugin-import-access
eslint-plugin-import-access copied to clipboard
Cannot retrieve TypeScript program for this file import-access/jsdoc
Hey,
so I followed the setup (added config to eslint and tsconfig) and in all of my .tsx files I have the error mentioned above. I see it's specific to this library and I have no idea what it means...
Hi, it is likely that you need to specify project: true in your typescript-eslint setup. This page should help. https://typescript-eslint.io/linting/typed-linting
Current error message isn't very friendly anyway. There's room for improvement 🏠
@MichalGorskiOnegini Hey, did this solve your issue?
@uhyo I also encountered the same problem and the solution you presented worked. thanks!