=fmt Preserve line endings when format. (#31192)

This commit is contained in:
kerr 2022-03-10 20:50:12 +08:00 committed by GitHub
parent cc762a8a74
commit 042c25c9b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"}]