Vs code react code tag wrapping causes JSX syntax not to be recognized?

what plug-in caused this?

Mar.13,2021

There can be no spaces between

it is recommended to learn the xml specification
https://msdn.microsoft.com/zh.


add: you should have installed JS-CSS-HTML Formatter , and the language mode is Babel JavaScript

.
// 
<img
    src={logo}
    className="App-logo"
    alt="logo"
/>

react/jsx-space-before-closing
react/jsx-equals-spacing
react/jsx-tag-spacing

Menu