pekko/.scalafix.conf
PJ Fanning 3a67477afd
remove unnecessary scalafix plugin (#2243)
* remove unnecessary scalafix plugin

* Update .scalafix.conf
2025-09-20 19:47:35 +08:00

54 lines
1.1 KiB
Text

// .scalafix.conf
rules = [
RemoveUnused
SortImports
ExplicitResultTypes
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."
"re:^(org\\.apache\\.pekko|pekko\\.)\\w*"
"org.reactivestreams."
"io.netty."
"org.scalatest."
"org.slf4j."
"com.typesafe."
]