-
Notifications
You must be signed in to change notification settings - Fork 5
/
.scalafmt.conf
77 lines (52 loc) · 2.11 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// see https://scalameta.org/scalafmt/docs/configuration.html
version = 3.7.12
maxColumn = 80
runner.dialect = scala3
//////////////////////////////////////////////////////////////////////////////
// Alignment
align.preset = none
//////////////////////////////////////////////////////////////////////////////
// Newlines (efaults are in comments)
// newlines.topLevelStatements = []
newlines.topLevelStatements = [before,after]
// newlines.afterCurlyLambda = "never"
// newlines.alwaysBeforeMultilineDef = true
newlines.alwaysBeforeMultilineDef = false
//////////////////////////////////////////////////////////////////////////////
// Rewrite Rules (defaults are in comments)
// trailingCommas = "never"
//////////////////////////////////////////////////////////////////////////////
// Comment processing
// docstrings.style = "SpaceAsterisk"
docstrings.style = Asterisk
//////////////////////////////////////////////////////////////////////////////
// Spaces (defaults are in comments)
// spaces.beforeContextBoundColon = "Never"
// spaces.inImportCurlyBraces = false
// spaces.inParentheses = false
// spaces.neverAroundInfixTypes = []
// spaces.afterKeywordBeforeParen = true
// spaces.inByNameTypes = true
//////////////////////////////////////////////////////////////////////////////
// Literals (defaults are in comments)
// Each literals.* setting has three available options: Upper, Lower, Unchanged.
// literals.long = "Upper"
// literals.float = "Lower"
// literals.double = "Lower"
// literals.hexPrefix = "Lower"
// literals.hexDigits = "Lower"
//////////////////////////////////////////////////////////////////////////////
// XML (defaults are in comments)
// xmlLiterals.assumeFormatted = false
//////////////////////////////////////////////////////////////////////////////
// Binpacking (defaults are in comments)
// binPack.literalArgumentLists = true
// binPack.parentConstructors = "never"
//////////////////////////////////////////////////////////////////////////////
// Miscallaneous (defaults are in comments)
// optIn.forceBlankLineBeforeDocstring = true
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}