Enabling StrictPlugin
in a project will turn all warnings fatal - a setting that has so
far never led me astray.
Note that this is only true for the Compile
scope:
Test
, since some tests voluntarily cause
warnings - I sometimes write tests that ensure the right implicit
instance of something
is picked up, for example, and these trigger the unused:implicits
warning.Additionally, StrictPlugin
enables wartremover with a safe set of rules - that is, rules
that have never yielded a false positive on any project I’ve ran them on, and that do not catch
symptoms I don’t think are problematic.