This is an automated email from the ASF dual-hosted git repository. mdedetrich pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-pekko-connectors-kafka.git
commit a4500c8ed256c2821c7d1a7007ee2a0e799d383e Author: Matthew de Detrich <[email protected]> AuthorDate: Sun Jan 15 12:08:07 2023 +0100 Update scalafmt --- .scalafmt.conf | 90 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 77 insertions(+), 13 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 0f38b162..efa297ee 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,13 +1,77 @@ -version = 2.1.0 - -style = defaultWithAlign - -align.tokens = [off] -align.openParenDefnSite = true -align.openParenCallSite = true -danglingParentheses = true -docstrings = JavaDoc -indentOperator = spray -maxColumn = 120 -rewrite.rules = [RedundantParens, SortImports] -unindentTopLevelOperators = true +version = 3.6.1 +runner.dialect = scala213 +project.git = true +style = defaultWithAlign +docstrings.style = Asterisk +docstrings.wrap = false +indentOperator.preset = spray +maxColumn = 120 +lineEndings = preserve +rewrite.rules = [RedundantParens, SortImports, AvoidInfix] +indentOperator.exemptScope = all +align.preset = some +align.tokens."+" = [ + { + code = "~>" + owners = [ + { regex = "Term.ApplyInfix" } + ] + } +] +literals.hexDigits = upper +literals.hexPrefix = lower +binPack.unsafeCallSite = always +binPack.unsafeDefnSite = always +binPack.indentCallSiteSingleArg = false +binPack.indentCallSiteOnce = true +newlines.avoidForSimpleOverflow = [slc] +newlines.source = keep +newlines.beforeMultiline = keep +align.openParenDefnSite = false +align.openParenCallSite = false +align.allowOverflow = true +optIn.breakChainOnFirstMethodDot = false +optIn.configStyleArguments = false +danglingParentheses.preset = false +spaces.inImportCurlyBraces = true +rewrite.neverInfix.excludeFilters = [ + and + min + max + until + to + by + eq + ne + "should.*" + "contain.*" + "must.*" + in + ignore + be + taggedAs + thrownBy + synchronized + have + when + size + only + noneOf + oneElementOf + noElementsOf + atLeastOneElementOf + atMostOneElementOf + allElementsOf + inOrderElementsOf + theSameElementsAs + theSameElementsInOrderAs +] +rewriteTokens = { + "⇒": "=>" + "→": "->" + "←": "<-" +} +project.excludeFilters = [ + "scripts/authors.scala" +] +project.layout = StandardConvention --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
