// .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."
]