Created
January 30, 2018 16:35
-
-
Save OlegYch/eefcb5000e865ea5a683f4beee5165c9 to your computer and use it in GitHub Desktop.
Revisions
-
OlegYch created this gist
Jan 30, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,48 @@ rules = [ Disable, DisableUnless, DisableSyntax, ExplicitResultTypes, LeakingImplicitClassVal, MissingFinal, NoInfer, RemoveUnusedImports, RemoveUnusedTerms ] Disable.symbols = [ "scala.Option.get" # picks up macro expansions... *sigh* # "scala.Any.asInstanceOf" ] DisableSyntax.keywords = [return, "null"] DisableSyntax.noSemicolons = true DisableSyntax.noXml = true //DisableSyntax.noCovariantTypes = true //DisableSyntax.noContravariantTypes = true DisableSyntax.noValInAbstract = true DisableSyntax.noImplicitObject = true DisableSyntax.noImplicitConversion = true # DisableSyntax.regex = [ # { # id = "redundant" # pattern = "Type" # message = "That's a really bad name." # } # ] ExplicitResultTypes { unsafeShortenNames = true } NoInfer.symbols = [ "scala.Predef.any2stringadd" "scala.Any" "scala.AnyVal" "scala.Product" # false positives? # "scala.Serializable" ]