2018-12-05 16:30:21 +08:00
|
|
|
// .scalafix.conf
|
|
|
|
|
rules = [
|
|
|
|
|
RemoveUnused
|
2020-04-27 20:32:18 +08:00
|
|
|
SortImports
|
2020-04-05 11:55:25 +07:00
|
|
|
ExplicitResultTypes
|
2020-04-27 17:31:16 +07:00
|
|
|
"github:ohze/scalafix-rules/ExplicitNonNullaryApply"
|
2020-04-03 00:13:12 +07:00
|
|
|
"github:ohze/scalafix-rules/ConstructorProcedureSyntax"
|
2020-04-03 00:21:25 +07:00
|
|
|
"github:ohze/scalafix-rules/FinalObject"
|
2020-04-16 02:06:36 +07:00
|
|
|
"github:ohze/scalafix-rules/Any2StringAdd"
|
2018-12-05 16:30:21 +08:00
|
|
|
]
|
2020-04-05 11:55:25 +07:00
|
|
|
ExplicitResultTypes {
|
|
|
|
|
memberVisibility = [] # only rewrite implicit members
|
|
|
|
|
skipSimpleDefinitions = []
|
|
|
|
|
}
|
2018-12-05 16:30:21 +08:00
|
|
|
RemoveUnused.imports = true
|
|
|
|
|
RemoveUnused.privates = false
|
|
|
|
|
RemoveUnused.locals = false
|
|
|
|
|
|
|
|
|
|
//ignored files
|
|
|
|
|
ignored-files = [
|
|
|
|
|
"TypedBenchmarkActors.scala",
|
|
|
|
|
"FlowPrependSpec.scala",
|
|
|
|
|
"FlowZipSpec.scala",
|
|
|
|
|
"FlowZipWithSpec.scala",
|
2020-04-27 20:32:18 +08:00
|
|
|
"FlowZipWithIndexSpec.scala",
|
|
|
|
|
"SourceSpec.scala",
|
|
|
|
|
"StatsSampleSpec.scala",
|
|
|
|
|
"ActorFlowSpec.scala",
|
|
|
|
|
"FSMTimingSpec.scala"
|
2018-12-05 16:30:21 +08:00
|
|
|
]
|
2018-12-09 05:13:11 +08:00
|
|
|
|
2019-12-19 01:57:55 -05:00
|
|
|
//ignored packages
|
2018-12-09 05:13:11 +08:00
|
|
|
ignored-packages = [
|
|
|
|
|
"doc",
|
|
|
|
|
"jdoc"
|
|
|
|
|
]
|
2020-04-27 20:32:18 +08:00
|
|
|
|
|
|
|
|
//sort imports, see https://github.com/NeQuissimus/sort-imports
|
|
|
|
|
SortImports.asciiSort = false
|
|
|
|
|
SortImports.blocks = [
|
|
|
|
|
"java.",
|
|
|
|
|
"scala.",
|
|
|
|
|
"*",
|
|
|
|
|
"com.sun."
|
|
|
|
|
"akka."
|
|
|
|
|
]
|