diff --git a/dhp-build/dhp-code-style/src/main/resources/scalafmt/scalafmt.conf b/dhp-build/dhp-code-style/src/main/resources/scalafmt/scalafmt.conf index 00c866f28..0b5dbe0b4 100644 --- a/dhp-build/dhp-code-style/src/main/resources/scalafmt/scalafmt.conf +++ b/dhp-build/dhp-code-style/src/main/resources/scalafmt/scalafmt.conf @@ -7,9 +7,15 @@ continuationIndent.callSite = 2 continuationIndent.defnSite = 2 danglingParentheses = true indentOperator = spray -maxColumn = 100 +maxColumn = 120 newlines.alwaysBeforeTopLevelStatements = true -#project.excludeFilters = ["\.*\.sbt"] -rewrite.rules = [RedundantParens, SortImports] +project.excludeFilters = [".*\\.sbt"] +rewrite.rules = [AvoidInfix] +rewrite.rules = [ExpandImportSelectors] +rewrite.rules = [RedundantBraces] +rewrite.rules = [RedundantParens] +rewrite.rules = [SortImports] +rewrite.rules = [SortModifiers] +rewrite.rules = [PreferCurlyFors] spaces.inImportCurlyBraces = false unindentTopLevelOperators = true \ No newline at end of file