Created
October 6, 2022 16:20
-
-
Save sbchapin/2e3fcb4ae974a2f3371cd32b1c23e90f to your computer and use it in GitHub Desktop.
Sam's default .scalafmt.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# VSCode: use the Metals BSP plugin to integrate - https://marketplace.visualstudio.com/items?itemName=scalameta.metals | |
# IntelliJ: use the built-in support with scalafmt - https://www.jetbrains.com/help/idea/work-with-scala-formatter.html | |
# Required: | |
version = "3.5.3" | |
runner.dialect = scala213 | |
# Optional: | |
style = defaultWithAlign # Align pattern matching statements, variable decls, function defs, adjacent symbols, etc... | |
maxColumn = 120 # Monitors of the 20th century rejoice | |
align.stripMargin = true # Strip margins off "multiline comments" | |
assumeStandardLibraryStripMargin = true # Align and format "multiline comments" for "".stripMargin | |
project.git = true # Only format files tracked by git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment