Add Scala compiler flags to promote best code practices
gaeljw opened this issue · 1 comments
gaeljw commented
See "Recommended Scalac Flags for 2.12" https://tpolecat.github.io/2017/04/25/scalac-flags.html
We need to check if the list can be applied for Scala 2.11 and 2.13 as well.
EDIT:
gaeljw commented
Actually, before 2.13 and the @nowarn annotation, we have to use a silencer compiler plugin which I'm not sure how to configure with Maven (only sbt and gradle seem supported).
I'll do a PR to activate only the whole list of flags for 2.13.