Solution to change single quotes to double quotes after VScode formatting

After formatting, single quotation marks become double quotation marks, and semicolons are added.

Create file .prettierrc.json in the file root directory 

document content

{
  "singleQuote": true,
  "semi": false
}

 

Guess you like

Origin blog.csdn.net/Mint6/article/details/104229226