JSX Inspection Error

We used to be able to edit JSX correctly without any "errors" in WebStorm, but since 11 or 12, it has been erroring out. We have no clue why. Please see attached. We tried many things from the Google search, with no avail. Could you help?

Thanks!

0

Hi there,

It looks like you have associated "*.jsx" with XML

"Settings/Preferences | Editor | File Types" -- find "XML" file type, remove offending pattern from there and associate it with correct file type ("JSX Harmony" I believe).

0

请先登录再写评论。