Created
January 30, 2018 16:35
-
-
Save OlegYch/eefcb5000e865ea5a683f4beee5165c9 to your computer and use it in GitHub Desktop.
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
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" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment