📅  最后修改于: 2022-03-11 14:55:00.129000             🧑  作者: Mango
// method 1:
// at root of the project create .prettierrc.json file and add following code
// and restart vscode
{
"trailingComma": "none"
}
// method 2:
// you can also try adding following code in settings.json file
"prettier.trailingComma": "none"
// but this didn't work for me