Created
February 16, 2017 07:21
-
-
Save omervk/f7c885fafb6033243ff5ca7dd4fd3bf9 to your computer and use it in GitHub Desktop.
My Wart Setup 2017-02-16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wartremoverErrors ++= Seq( | |
Wart.StringPlusAny, Wart.FinalCaseClass, Wart.JavaConversions, Wart.Null, Wart.Product, Wart.Serializable, | |
Wart.LeakingSealed, Wart.While, Wart.Return, Wart.ExplicitImplicitTypes, Wart.Enumeration, Wart.FinalVal, | |
Wart.TryPartial, Wart.TraversableOps, Wart.OptionPartial, | |
ContribWart.ExposedTuples, ContribWart.SomeApply, ContribWart.OldTime | |
) | |
wartremoverWarnings ++= wartremover.Warts.allBut( | |
Wart.Nothing, Wart.DefaultArguments, Wart.Throw, Wart.MutableDataStructures, Wart.NonUnitStatements, Wart.Overloading, | |
Wart.Option2Iterable, Wart.ImplicitConversion, Wart.ImplicitParameter, | |
Wart.NoNeedForMonad, ContribWart.NoNeedForMonad, // NoNeedForMonad is probably permanently broken | |
Wart.Any, // Too many warnings because of spark's Row | |
Wart.AsInstanceOf, // Too many warnings because of spark's UDF | |
Wart.PublicInference // False positives, waiting for fix: https://github.com/wartremover/wartremover/issues/334 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment