daml/.scalafmt.conf
Paul Brauner 18e0e9e656
Test that canton 3.x builds with bazel hourly (#17876)
* introduce a canton2 directory

* rename to canton-3x and only keep the bazel rules

* add canton-3x to bazelignore

* fix visibility rules

* add a build-canton-3x script

* add build-canton-3x.sh temporarily to prs.yml to test it out

* try sending a message to stack when failing

* backport 243125adee

* restore prs.yml and add the job to azure-cron.yml

* restore tell-slack-failed condition

* address comments

* display the revision at which canton was cloned, to ease debugging
2023-11-23 08:54:35 +01:00

23 lines
717 B
Plaintext

version = 3.5.1
project.git = true
align.preset = none # never align to make the fmt more diff friendly
maxColumn = 100
runner.fatalWarnings = true
runner.dialect = scala213
trailingCommas = multiple
# Disable scala doc wrapping (behavior changed in v3.0.0).
docstrings.wrap = no
newlines.topLevelStatementBlankLines = [
{ blanks { after = 1 }, regex = "^Import" }
]
# Apparently we have to match the _full, absolute_ path, so it's a bit tricky
# to not get more than we want.
project.excludePaths = [
"glob:**/canton/community/**/*.{scala,sc}",
"glob:**/canton/daml-common-staging/**/*.{scala,sc}",
"glob:**/canton-3x/community/**/*.{scala,sc}",
"glob:**/canton-3x/daml-common-staging/**/*.{scala,sc}"
]