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!

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.