We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fe9384 commit 6a2c597Copy full SHA for 6a2c597
scalafix-rules/src/main/scala/scalafix/internal/rule/OrganizeImports.scala
@@ -870,7 +870,7 @@ object OrganizeImports {
870
871
val hasWarnUnused = hasCompilerSupport && {
872
val warnUnusedPrefix = Set("-Wunused", "-Ywarn-unused")
873
- val warnUnusedString = Set("-Xlint", "-Xlint:unused")
+ val warnUnusedString = Set("-Wall", "-Xlint", "-Xlint:unused")
874
scalacOptions exists { option =>
875
(warnUnusedPrefix exists option.startsWith) || (warnUnusedString contains option)
876
}
0 commit comments