-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafmt.conf
More file actions
39 lines (39 loc) · 924 Bytes
/
Copy path.scalafmt.conf
File metadata and controls
39 lines (39 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
align.preset = some
assumeStandardLibraryStripMargin = true
danglingParentheses {
callSite = false
defnSite = false
}
docstrings {
forceBlankLineBefore = false
oneline = fold
removeEmpty = true
wrap = no
}
fileOverride {
"lang:scala-2" = scala212
".sbt" { runner.dialect = sbt1 }
}
indent.defnSite = 2
maxColumn = 120
newlines {
afterCurlyLambdaParams = squash
avoidForSimpleOverflow = [punct, slc, tooLong]
forceBeforeMultilineAssign = any
implicitParamListModifierPrefer = before
selectChains = unfold
source = fold
}
project.layout = StandardConvention
rewrite {
imports.sort = original
redundantBraces.stringInterpolation = true
redundantParens.infixSide = all
rules = [AvoidInfix, Imports, PreferCurlyFors, RedundantBraces, RedundantParens, SortModifiers]
scala3 {
convertToNewSyntax = true
removeOptionalBraces = oldSyntaxToo
}
}
runner.dialect = scala3
version = 3.5.9