-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scalafix.conf
50 lines (47 loc) · 1.04 KB
/
.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
48
49
50
// .scalafix.conf
rules = [
RemoveUnused
SortImports
ExplicitResultTypes
"github:ohze/scalafix-rules/FinalObject"
fix.scala213.DottyMigrate
// fix.scala213.NullaryOverride
]
//NullaryOverride.mode = Rewrite
ExplicitResultTypes {
memberVisibility = [] # only rewrite implicit members
skipSimpleDefinitions = []
}
ExplicitImplicitTypes.symbolReplacements {
"scala/concurrent/ExecutionContextExecutor#" = "scala/concurrent/ExecutionContext#"
}
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."
]