forked from linagora/james-project
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.scalafix.conf
39 lines (36 loc) · 874 Bytes
/
.scalafix.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
rules = [
DisableSyntax,
ProcedureSyntax,
NoValInForComprehension,
LeakingImplicitClassVal,
SortImports
]
SortImports.blocks = [
"re:java?\\.",
"*",
"scala.",
]
RemoveUnused.imports = true
RemoveUnused.privates = false
RemoveUnused.locals = true
RemoveUnused.patternvars = false
RemoveUnused.implicits = false
DisableSyntax.noVars = false
DisableSyntax.noThrows = false
DisableSyntax.noNulls = false
DisableSyntax.noReturns = false
DisableSyntax.noWhileLoops = false
DisableSyntax.noAsInstanceOf = false
DisableSyntax.noIsInstanceOf = false
DisableSyntax.noXml = false
DisableSyntax.noDefaultArgs = false
DisableSyntax.noFinalVal = true
DisableSyntax.noFinalize = true
DisableSyntax.noValPatterns = false
DisableSyntax.noUniversalEquality = false
DisableSyntax.regex = [
{
pattern = ".prettyPeek()"
message = "Found a debug code"
}
]