My WebStorm keeps treating any JSX code as XML which then results in dozens of unwanted inspection errors, see screenshots.
Also it keeps saying "Unresolved variable or function" for most of the object keys in files, for example for props keys in ReactJS etc.
Plus other inspection warnings I have no idea how to fix.
I've never had these problems on my old Macbook, but this is a fresh install of WebStorm and its causing me headaches.
Thanks for any help