Skip to content

Commit

Permalink
chore: Update scalafmt for rewrite wildCard.
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jan 17, 2024
1 parent 19da736 commit 2ec386e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = 3.7.14
runner.dialect = scala213
runner.dialect = scala213source3
project.git = true
style = defaultWithAlign
docstrings.style = Asterisk
Expand Down Expand Up @@ -75,3 +75,14 @@ project.excludeFilters = [
"scripts/authors.scala"
]
project.layout = StandardConvention

# Have to turn if off for now, scala-cli fmt not working for rewrite.
# The rewriting works when do rewriting with `sbt scalafmtAll`.
//rewrite.scala3.convertToNewSyntax = true
//runner {
// dialectOverride {
// allowAsForImportRename = false
// allowStarWildcardImport = false
// allowPostfixStarVarargSplices = false
// }
//}

0 comments on commit 2ec386e

Please sign in to comment.