Add scalafix and organize-imports rule

This commit is contained in:
Eike Kettner
2020-06-28 20:47:19 +02:00
parent 5bad157b9e
commit 672ed445b1
4 changed files with 26 additions and 2 deletions

13
.scalafix.conf Normal file
View File

@ -0,0 +1,13 @@
rules = [
ProcedureSyntax
OrganizeImports
]
OrganizeImports {
coalesceToWildcardImportThreshold = 3
expandRelative = true
groupedImports = Keep
importsOrder = Ascii
groups = ["re:javax?\\.", "scala.", "re:(cats|fs2)\\.", "docspell.", "*"]
importSelectorsOrder = Ascii
removeUnused = true
}