daml/.scalafmt.conf

23 lines
717 B
Plaintext
Raw Normal View History

version = 3.5.1
project.git = true
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
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}"
]