scalafmt

(, en)

My default settings:

# .scalafmt.conf
version = 3.0.7
maxColumn = 120
align.preset = some
docstrings.style = Asterisk
rewrite.trailingCommas.style = keep
rewrite.rules = [RedundantParens]