eslint-plugin-import-access icon indicating copy to clipboard operation
eslint-plugin-import-access copied to clipboard

Cannot retrieve TypeScript program for this file import-access/jsdoc

Open MichalGorskiOnegini opened this issue 1 year ago • 3 comments

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...

MichalGorskiOnegini avatar Dec 28 '23 13:12 MichalGorskiOnegini

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 🏠

uhyo avatar Dec 29 '23 15:12 uhyo

@MichalGorskiOnegini Hey, did this solve your issue?

uhyo avatar Jan 10 '24 08:01 uhyo

@uhyo I also encountered the same problem and the solution you presented worked. thanks!

matsumoto-takuto-z avatar Jan 12 '24 08:01 matsumoto-takuto-z