-
Notifications
You must be signed in to change notification settings - Fork 1
/
scalariform.sbt
23 lines (21 loc) · 1018 Bytes
/
scalariform.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
ScalariformKeys.preferences := ScalariformKeys.preferences.value.
setPreference(AlignParameters, false).
setPreference(AlignSingleLineCaseStatements, true).
setPreference(CompactControlReadability, false).
setPreference(CompactStringConcatenation, false).
setPreference(DoubleIndentConstructorArguments, true).
setPreference(FormatXml, true).
setPreference(IndentLocalDefs, false).
setPreference(IndentPackageBlocks, true).
setPreference(IndentSpaces, 2).
setPreference(MultilineScaladocCommentsStartOnFirstLine, false).
setPreference(PreserveSpaceBeforeArguments, false).
setPreference(DanglingCloseParenthesis, Preserve).
setPreference(RewriteArrowSymbols, false).
setPreference(SpaceBeforeColon, false).
setPreference(SpaceInsideBrackets, false).
setPreference(SpacesAroundMultiImports, true).
setPreference(SpacesWithinPatternBinders, true)