how to stop prettier from adding commas
// 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