Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove byname-implicit lint option #34

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/scala/io/github/davidgregory084/TpolecatPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ object TpolecatPlugin extends AutoPlugin {
val V2_11_0 = Version(2, 11, 0)
val V2_12_0 = Version(2, 12, 0)
val V2_13_0 = Version(2, 13, 0)
val V2_13_3 = Version(2, 13, 3)
val V2_13_4 = Version(2, 13, 4)
val V3_0_0 = Version(3, 0, 0)

Expand Down Expand Up @@ -78,6 +79,7 @@ object TpolecatPlugin extends AutoPlugin {
ScalacOption("-Xlint:strict-unsealed-patmat", addedIn = Some(V2_13_4), removedIn = Some(V3_0_0)), // Warn when a pattern match on an unsealed type may not be exhaustive
ScalacOption("-Xlint:type-parameter-shadow", addedIn = Some(V2_11_0), removedIn = Some(V3_0_0)), // A local type parameter shadows a type already in scope.
ScalacOption("-Xlint:unsound-match", addedIn = Some(V2_11_0), removedIn = Some(V2_13_0)), // Pattern match may not be typesafe.
ScalacOption("-Xlint:-byname-implicit", addedIn = Some(V2_13_3), removedIn = Some(V3_0_0)), // This conflicts with generic derivation used via shapeless
ScalacOption("-Wunused:nowarn", addedIn = Some(V2_13_0), removedIn = Some(V3_0_0)), // Ensure that a `@nowarn` annotation actually suppresses a warning.
ScalacOption("-Yno-adapted-args", removedIn = Some(V2_13_0)), // Do not adapt an argument list (either by inserting () or creating a tuple) to match the receiver.
ScalacOption("-Ywarn-dead-code", removedIn = Some(V2_13_0)), // Warn when dead code is identified.
Expand Down