forked from guardrail-dev/guardrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scalafmt.conf
33 lines (29 loc) · 1.01 KB
/
.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
30
31
32
33
version=2.4.2
edition = 2019-09
project.git = true
project.includeFilters = [
".*\\.sbt$"
".*\\.sc$"
"modules/sample[^/]*/src/test/.*\\.scala"
"modules/sample[^/]*/src/main/scala/support/.*\\.scala"
"modules/cli/src/.*\\.scala"
"modules/codegen/src/.*\\.scala"
"modules/core/src/.*\\.scala"
"modules/java-async-http/src/.*\\.scala"
"modules/java-dropwizard/src/.*\\.scala"
"modules/java-spring-mvc/src/.*\\.scala"
"modules/java-support/src/.*\\.scala"
"modules/microsite/src/.*\\.scala"
"modules/scala-akka-http/src/.*\\.scala"
"modules/scala-dropwizard/src/.*\\.scala"
"modules/scala-endpoints/src/.*\\.scala"
"modules/scala-http4s/src/.*\\.scala"
"modules/scala-support/src/.*\\.scala"
]
style = defaultWithAlign
danglingParentheses = true
maxColumn = 160
project.excludeFilters = [".*\\.sbt"]
rewrite.rules = [AsciiSortImports, RedundantBraces, RedundantParens, PreferCurlyFors ]
spaces.inImportCurlyBraces = true
unindentTopLevelOperators = true