Solve the problem of ending tag > line break when prettier formats code

Modify the prettier configuration file and add the following settings:

"prettier.htmlWhitespaceSensitivity": "ignore",
"prettier.bracketSameLine": true,

Guess you like

Origin blog.csdn.net/xjtarzan/article/details/130763004