Last active
March 17, 2024 07:42
-
-
Save mtavkhelidze/ec33d52b0c489c61c60d4806c4f263ee to your computer and use it in GitHub Desktop.
Dot scalafmt.conf
This file contains 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
align.preset = none | |
# From https://scalameta.org/scalafmt/docs/configuration.html | |
# | |
# Keep in mind that 80 characters fit perfectly on a split laptop | |
# screen with regular resolution. | |
# | |
# GitHub mobile view only shows 80 characters and sometimes you might | |
# review code on your phone. | |
# | |
# Consider refactoring your code before choosing a value above 100. | |
maxColumn = 80 | |
rewrite.scala3.convertToNewSyntax = true | |
rewrite.scala3.insertEndMarkerMinLines = 5 | |
rewrite.scala3.removeOptionalBraces = true | |
runner.dialect = scala3 | |
trailingCommas = always | |
version = 3.8.0 | |
fileOverride { | |
"glob:**.sbt" { | |
runner.dialect = scala212source3 | |
} | |
"glob:**/project/**.*" { | |
runner.dialect = scala212source3 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment