-
Notifications
You must be signed in to change notification settings - Fork 33
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
Silence warnings based on line content #42
Comments
This would be great! We get a lot of false positives for unused import when using implicits |
Fixed in 1.5.0 |
Sweet! |
@tjarvstrand There should be zero false positives in recent Scala versions. If you're using macros that require imports but don't emit code that uses them, that's a different kettle of fish. |
We mostly get them in code related to pureconfig's automatic derivation which I think uses macros so maybe the problem is in there somewhere |
@tjarvstrand thanks for the feedback. |
This would be particularly useful in order to silence "unused import" warnings (#30) based on what's being imported, e.g. with regex-based compiler option like:
-P:silencer:lineContentFilters=import scala\.collection\.compat\._
The text was updated successfully, but these errors were encountered: