-
-
Notifications
You must be signed in to change notification settings - Fork 116
Expand file tree
/
Copy path.scalafmt.conf
More file actions
23 lines (19 loc) · 738 Bytes
/
.scalafmt.conf
File metadata and controls
23 lines (19 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version = 3.10.7
project.layout=StandardConvention
runner.dialect = scala213
align.preset = true
danglingParentheses.preset = true
assumeStandardLibraryStripMargin = true
docstrings.style = asterisk
maxColumn = 120
project.git = true
rewrite.rules = [ AvoidInfix, ExpandImportSelectors, RedundantParens, SortModifiers ]
rewrite.sortModifiers.order = [ "private", "protected", "final", "sealed", "abstract", "implicit", "override", "lazy" ]
spaces.inImportCurlyBraces = true # more idiomatic to include whitepsace in import x.{ yyy }
trailingCommas = preserve
rewrite.scala3.convertToNewSyntax = true
runner.dialectOverride {
allowSignificantIndentation = false
allowAsForImportRename = false
allowStarWildcardImport = false
}