From 042c25c9b2675a773766cbd803039862d1f36bc0 Mon Sep 17 00:00:00 2001 From: kerr Date: Thu, 10 Mar 2022 20:50:12 +0800 Subject: [PATCH] =fmt Preserve line endings when format. (#31192) --- .scalafmt.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.scalafmt.conf b/.scalafmt.conf index 4452a40ba8..5d45e749f6 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -5,6 +5,7 @@ style = defaultWithAlign docstrings = JavaDoc indentOperator = spray maxColumn = 120 +lineEndings = preserve rewrite.rules = [RedundantParens, SortImports, AvoidInfix] unindentTopLevelOperators = true align.tokens = [{code = "=>", owner = "Case"}]