-
Notifications
You must be signed in to change notification settings - Fork 5
/
.scalafmt.conf
23 lines (23 loc) · 1023 Bytes
/
.scalafmt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
style = defaultWithAlign
maxColumn = 120
// http://scalameta.org/scalafmt/#align.openParenCallSite
align.openParenCallSite = true
align.openParenDefnSite = false
// http://scalameta.org/scalafmt/#align.arrowEnumeratorGenerator
align.arrowEnumeratorGenerator = true
danglingParentheses = true
// http://scalameta.org/scalafmt/#optIn.breakChainOnFirstMethodDot
optIn.breakChainOnFirstMethodDot = true
// http://scalameta.org/scalafmt/#lineEndings
lineEndings = unix
// http://scalameta.org/scalafmt/#newlines.penalizeSingleSelectMultiArgList
newlines.penalizeSingleSelectMultiArgList = true
project.git = true
// http://scalameta.org/scalafmt/#binPack.literalArgumentLists
binPack.literalArgumentLists = false
// http://scalameta.org/scalafmt/#runner.optimizer.forceConfigStyleOnOffset
runner.optimizer.forceConfigStyleMinArgCount = 3
// http://scalameta.org/scalafmt/#RedundantBraces
rewrite.redundantBraces.maxLines = 100
rewrite.redundantBraces.includeUnitMethods = true
rewrite.redundantBraces.stringInterpolation = true