-
Notifications
You must be signed in to change notification settings - Fork 17
/
.scalafmt.conf
29 lines (29 loc) · 966 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
29
version = "3.7.14"
runner.dialect = scala213
preset=IntelliJ
maxColumn = 120
docstrings.style = SpaceAsterisk
assumeStandardLibraryStripMargin = false
align.preset = some
align.tokens = []
align.arrowEnumeratorGenerator = false
align.openParenCallSite = true
align.openParenDefnSite = true
danglingParentheses.preset = true
newlines.topLevelStatementBlankLines = [
{ blanks { before = 1 } }
]
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
includeCurlyBraceInSelectChains = true
project.git = true
project.excludeFilters = ["target/.*"]