-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.scalafmt.conf
28 lines (28 loc) · 1001 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
24
25
26
27
28
version = "1.5.1"
style = IntelliJ
maxColumn = 120
docstrings = ScalaDoc
assumeStandardLibraryStripMargin = false
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
align = some
align.tokens = []
align.arrowEnumeratorGenerator = false
align.openParenCallSite = true
align.openParenDefnSite = true
newlines.alwaysBeforeTopLevelStatements = true
newlines.penalizeSingleSelectMultiArgList = true
newlines.alwaysBeforeElseAfterCurlyIf = false
newlines.sometimesBeforeColonInMethodReturnType = true
rewrite.rules = [ AvoidInfix, SortImports, SortModifiers, PreferCurlyFors ]
newlines.alwaysBeforeMultilineDef = true
lineEndings = unix
binPack.literalArgumentLists = true
binPack.parentConstructors = false
spaces.afterKeywordBeforeParen = true
includeCurlyBraceInSelectChains = true
optIn.breakChainOnFirstMethodDot = true
danglingParentheses = true
includeCurlyBraceInSelectChains = true
project.git = true
project.excludeFilters = [".*\\.scala.html$", "target/.*", "modules/admin/target/.*"]