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 16, 2024
1 parent d6ae997 commit ba8d668
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = 3.7.14
runner.dialect = scala213
version = 3.7.17
runner.dialect = scala213source3
project.git = true
style = defaultWithAlign
docstrings.style = Asterisk
Expand Down Expand Up @@ -75,3 +75,19 @@ project.excludeFilters = [
"scripts/authors.scala"
]
project.layout = StandardConvention

fileOverride {
"glob:**/scala-3/**" {
runner.dialect = scala3
rewrite.scala3.convertToNewSyntax = false
}
}

//rewrite.scala3.convertToNewSyntax = false
//runner {
// dialectOverride {
// allowAsForImportRename = false
// allowStarWildcardImport = false
// allowPostfixStarVarargSplices = false
// }
//}

0 comments on commit ba8d668

Please sign in to comment.