diff --git a/.scalafmt.conf b/.scalafmt.conf index 8a861d1b..dca960ad 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,13 +1,13 @@ +align = true runner.dialect = scala213 -align.preset = true assumeStandardLibraryStripMargin = true -danglingParentheses.preset = true -docstrings.style = Asterisk -docstrings.removeEmpty = true +danglingParentheses = true +docstrings = JavaDoc maxColumn = 120 +project.excludeFilters += core/play/src/main/scala/play/core/hidden/ObjectMappings.scala # Ooohhh 😞 project.git = true rewrite.rules = [ AvoidInfix, ExpandImportSelectors, RedundantParens, SortModifiers, PreferCurlyFors ] rewrite.sortModifiers.order = [ "private", "protected", "final", "sealed", "abstract", "implicit", "override", "lazy" ] spaces.inImportCurlyBraces = true # more idiomatic to include whitepsace in import x.{ yyy } trailingCommas = preserve -version = 3.5.2 +version = 2.3.2