2022-04-28 12:57:04 +03:00
|
|
|
version = 3.5.1
|
2021-01-11 13:05:58 +03:00
|
|
|
|
2019-12-06 15:56:07 +03:00
|
|
|
project.git = true
|
|
|
|
|
2021-01-09 13:37:37 +03:00
|
|
|
align.preset = none # never align to make the fmt more diff friendly
|
2019-04-04 11:33:38 +03:00
|
|
|
maxColumn = 100
|
|
|
|
runner.fatalWarnings = true
|
2021-11-26 16:57:57 +03:00
|
|
|
runner.dialect = scala213
|
2021-01-09 13:37:37 +03:00
|
|
|
trailingCommas = multiple
|
2021-10-08 16:36:36 +03:00
|
|
|
# Disable scala doc wrapping (behavior changed in v3.0.0).
|
|
|
|
docstrings.wrap = no
|
2021-10-11 09:16:48 +03:00
|
|
|
newlines.topLevelStatementBlankLines = [
|
|
|
|
{ blanks { after = 1 }, regex = "^Import" }
|
|
|
|
]
|
2023-10-12 16:31:11 +03:00
|
|
|
# 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}",
|
2023-11-23 10:54:35 +03:00
|
|
|
"glob:**/canton/daml-common-staging/**/*.{scala,sc}",
|
|
|
|
"glob:**/canton-3x/community/**/*.{scala,sc}",
|
|
|
|
"glob:**/canton-3x/daml-common-staging/**/*.{scala,sc}"
|
2023-10-12 16:31:11 +03:00
|
|
|
]
|