Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit a695ee1

Browse files
committed
Allow unused import to work with enableMembersIf
1 parent 3e5acad commit a695ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/MySettings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object MySettings {
3232
"deprecation"
3333
).filter(_ => !isScala212)).map(s => s"-Xlint:${s}")
3434
// no privates to allow private constructor
35-
val unused = Seq("imports", "implicits", "locals", "patvars").filter(_ => !isScala212).map(s => s"-Wunused:${s}")
35+
val unused = Seq("implicits", "locals", "patvars").filter(_ => !isScala212).map(s => s"-Wunused:${s}")
3636
lints ++ unused
3737
})
3838

0 commit comments

Comments
 (0)