📅  最后修改于: 2022-03-11 14:55:21.889000             🧑  作者: Mango
Prettier is considered an " opinionated " formatter, which means it
doesn't let you choose things like that. If you want more control over
the formatting, you can use a different formatter.
The built-in VS code formatter allows you to do what you're looking for,
just search the settings for " function new line " and similar options.