📅  最后修改于: 2022-03-11 14:55:17.849000             🧑  作者: Mango
open vscode
cmd + shift + p
open settings.json
add this
"editor.formatOnSave": true,
"prettier.semi": false,
or open settings in vscode
type > prettier.semi
:-) uncheck the checkbox that sets semicolons on prettier to true