Compiler options warnings vs linter

Viewed 364

In Scala 2.12 is there any difference between any of these options:

  • -Xlint:adapted-args vs -Ywarn-adapted-args
  • -Xlint:nullary-unit vs -Ywarn-nullary-unit
  • -Xlint:inaccessible vs -Ywarn-inaccessible
  • -Xlint:nullary-override vs -Ywarn-nullary-override
  • -Xlint:infer-any vs -Ywarn-infer-any

If not, which one makes more sense to use? I also compile with fatal-warnings, and almost all -Ywarn and -Xlint options.

1 Answers
Related