Commit Graph

6 Commits

Author SHA1 Message Date
Stefano Baghino
8d30cb5f9a
Pin scalafmt version in configuration file (#8447)
* Pin scalafmt version in configuration file

Looks like there is no other way for IntelliJ to pick up an arbitrary version.

See: https://www.jetbrains.com/help/idea/work-with-scala-formatter.html#change_scalafmt

changelog_begin
changelog_end

* Address https://github.com/digital-asset/daml/pull/8447#discussion_r554928850
2021-01-11 10:05:58 +00:00
Moritz Kiefer
22ce940954
Upgrade scalafmt and enable trailing commas (#8437)
This PR updates scalafmt and enables trailingCommas =
multiple. Unfortunately, scalafmt broke the version field which means
we cannot fully preserve the rest of the config. I’ve made some
attempts to stay reasonably close to the original config but couldn’t
find an exact equivalent in a lot of cases. I don’t feel strongly
about any of the settings so happy to change them to something else.

As announced, this will be merged on Saturday to avoid too many conflicts.

changelog_begin
changelog_end
2021-01-09 11:37:37 +01:00
Stefano Baghino
01f7e5c7b3
Revert "Adopt trailingCommas option in scalafmt (#4214)" (#4257)
This reverts commit 6c094b3f95.

CHANGELOG_BEGIN
CHANGELOG_END
2020-01-29 11:43:35 +00:00
Stefano Baghino
6c094b3f95
Adopt trailingCommas option in scalafmt (#4214)
CHANGELOG_BEGIN
CHANGELOG_END
2020-01-28 11:23:47 +01:00
Samir Talwar
1f6529aea7 Upgrade Scalafmt to v2.3.1. (#3764)
* Upgrade Scalafmt to v2.3.1.

* Reformat daml-assistant/daml-sdk/.../SdkMain.scala with Scalafmt.
2019-12-06 12:56:07 +00:00
Digital Asset GmbH
05e691f558 open-sourcing daml 2019-04-04 09:33:38 +01:00