forked from apache/pekko-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scalafix.conf
More file actions
47 lines (44 loc) · 1.05 KB
/
.scalafix.conf
File metadata and controls
47 lines (44 loc) · 1.05 KB
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
// 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
// usually due them being used in our documentation - docs module is ignored anyway
// but some tests in other modules are also used used in the paradox build
ignored-files = [
"CustomMediaTypesSpec.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."
"re:^(org\\.apache\\.pekko|pekko\\.)\\w*"
"org.reactivestreams."
"io.netty."
"org.scalatest."
"org.slf4j."
"com.typesafe."
]