style(Frontend): use scalafmt formatting frontend (#3370)Format frontend according to the scalafmt file drafted in #3061.