Skip to content

Commit

Permalink
Merge pull request #1214 from olafurpg/1213
Browse files Browse the repository at this point in the history
Change default to `trailingCommas = never`
  • Loading branch information
gabro authored Jun 5, 2018
2 parents 251d601 + b300361 commit 871555f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ case class ScalafmtConfig(
assumeStandardLibraryStripMargin: Boolean = false,
danglingParentheses: Boolean = true,
poorMansTrailingCommasInConfigStyle: Boolean = false,
trailingCommas: TrailingCommas = TrailingCommas.preserve,
trailingCommas: TrailingCommas = TrailingCommas.never,
@deprecated("Use VerticalMultiline.atDefnSite instead", "1.6.0")
verticalMultilineAtDefinitionSite: Boolean = false,
@deprecated("Use VerticalMultiline.arityThreshold instead", "1.6.0")
Expand Down
2 changes: 1 addition & 1 deletion scalafmt-tests/src/test/resources/unit/Dialect.stat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ foo(
>>>
foo(
1,
2,
2
)
<<< literal types
val x : 42 = 42
Expand Down

0 comments on commit 871555f

Please sign in to comment.