-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafmt.conf
17 lines (16 loc) · 903 Bytes
/
.scalafmt.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
version = 2.4.2
style = defaultWithAlign
align.openParenCallSite = false
align.openParenDefnSite = false
//align.tokens = [{code = "->"}, {code = "<-"}, {code = "=>", owner = "Case"}]
align.tokens = [{code = "->"}, {code = "<-"}]
continuationIndent.callSite = 2
continuationIndent.defnSite = 2
danglingParentheses = true
indentOperator = spray
maxColumn = 100
newlines.alwaysBeforeTopLevelStatements = true
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [AsciiSortImports, RedundantBraces, RedundantParens]
spaces.inImportCurlyBraces = true
unindentTopLevelOperators = true