-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.scalafmt.conf
16 lines (13 loc) · 1.03 KB
/
.scalafmt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# ************************************** scalafmt configuration **************************************
# See configuration documentation at [https://scalameta.org/scalafmt/docs/configuration.html]
# ****************************************************************************************************
preset = default # Default configuration
version = 3.8.2 # Scalafmt version
runner.dialect = scala3 # Scala 3 formatting rules
maxColumn = 120 # Max char before forcing new line
align.preset = none # do not leave space to vertically align with previous lines
rewrite.trailingCommas.style = always # Always use trailing commas
newlines.selectChains = fold # Fold select chains
docstrings.oneline = fold # Write scaladoc comments in a single line if they fit
docstrings.removeEmpty = true # Remove empty scaladoc comments
docstrings.wrap = no # Wrap scaladoc comments according to maxColumn