Skip to content

Commit

Permalink
chore: Update scalafmt.conf to group imports
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Apr 6, 2024
1 parent 1ff92ec commit b2af0c4
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
version = 3.7.17
version = 3.8.1
runner.dialect = scala3
maxColumn = 120

rewrite {
rules = [
Imports
]

imports {
expand = false
sort = ascii
groups = [
["gears\\..*"],
["scala\\.meta\\..*", "org\\.scalameta\\..*"],
["sbt\\..*"],
["java.?\\..*"],
["scala\\..*"],
["org\\..*"],
["com\\..*"],
]
}
}

0 comments on commit b2af0c4

Please sign in to comment.