-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafix.conf
47 lines (44 loc) · 1003 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
40
41
42
43
44
45
46
47
// .scalafix.conf
rules = [
RemoveUnused
SortImports
ExplicitResultTypes
"github:ohze/scalafix-rules/ExplicitNonNullaryApply"
"github:ohze/scalafix-rules/ConstructorProcedureSyntax"
"github:ohze/scalafix-rules/FinalObject"
"github:ohze/scalafix-rules/Any2StringAdd"
]
ExplicitResultTypes {
memberVisibility = [] # only rewrite implicit members
skipSimpleDefinitions = []
}
RemoveUnused.imports = true
RemoveUnused.privates = false
RemoveUnused.locals = false
//ignored files
ignored-files = [
"TypedBenchmarkActors.scala",
"FlowPrependSpec.scala",
"FlowZipSpec.scala",
"FlowZipWithSpec.scala",
"FlowZipWithIndexSpec.scala",
"SourceSpec.scala",
"StatsSampleSpec.scala",
"ActorFlowSpec.scala",
"FSMTimingSpec.scala"
]
//ignored packages
ignored-packages = [
"docs",
"doc",
"jdoc"
]
//sort imports, see https://github.com/NeQuissimus/sort-imports
SortImports.asciiSort = false
SortImports.blocks = [
"re:javax?\\.",
"scala.",
"*",
"com.sun."
"akka."
]