Skip to content

Commit b54e7a9

Browse files
committed
scalafmt: imports sorting
1 parent 507b9cf commit b54e7a9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.scalafmt.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ newlines.penalizeSingleSelectMultiArgList = false
1010
optIn.breakChainOnFirstMethodDot = true
1111
optIn.configStyleArguments = true
1212
project.git = true
13-
rewrite.rules = [ RedundantBraces, RedundantParens, PreferCurlyFors ]
13+
rewrite.rules = [ Imports, RedundantBraces, RedundantParens, PreferCurlyFors ]
14+
rewrite.imports.sort = scalastyle
15+
rewrite.imports.groups = [ [".*"] ]
1416
runner.optimizer.forceConfigStyleOnOffset = 80
1517
style = IntelliJ # for pretty alignment

integration/Integration.test.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ import munit.CatsEffectSuite
33

44
class IntegrationSuite extends CatsEffectSuite:
55

6-
test("pure_db_logic(123) returns 42") {
6+
test("pure_db_logic(123) returns 42"):
77
DbClient.postgres.pureDbLogic(123).assertEquals(Some(42))
8-
}

unit/Unit.test.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ import munit.FunSuite
22

33
class UnitSuite extends FunSuite:
44

5-
test("1+1 is 2") {
5+
test("1+1 is 2"):
66
assertEquals(1 + 1, 2)
7-
}

0 commit comments

Comments
 (0)