forked from lemonlabsuk/scala-uri
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.scalafmt.conf
35 lines (32 loc) · 895 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
30
31
32
33
34
35
version = 3.8.3
runner.dialect = Scala3
align.tokens = [
{code = "=>", owner = "Case"},
{code = ":=", owner = "Term.ApplyInfix"},
{code = "%", owner = "Term.ApplyInfix"},
{code = "%%", owner = "Term.ApplyInfix"},
{code = "%%%", owner = "Term.ApplyInfix"}
]
project.excludeFilters = [
"shared/src/main/scala/io/lemonlabs/uri/inet/PublicSuffixTrie.scala"
]
align.openParenDefnSite = true
docstrings.style = SpaceAsterisk
docstrings.wrap = no
maxColumn = 120
rewrite.rules = [RedundantParens, SortImports]
newlines.afterCurlyLambda = preserve
fileOverride {
"glob:**.sbt" {
runner.dialect = scala212source3
}
"glob:**/project/plugins.sbt" {
runner.dialect = scala212source3
newlines.topLevelStatementBlankLines = [
{
blanks = 1,
minBreaks = 0
}
]
}
}