Scapegoat
Scala compiler plugin for static code analysis (by scapegoat-scala)
sbt-tpolecat
scalac options for the enlightened (by typelevel)
Scapegoat | sbt-tpolecat | |
---|---|---|
3 | 6 | |
512 | 371 | |
0.4% | 0.5% | |
8.4 | 7.3 | |
17 days ago | 12 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Scapegoat
Posts with mentions or reviews of Scapegoat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-26.
-
Simple, Naïve, and Wrong: More than you wanted to know about Scala Case Classes
I've since figured this out (Scapegoat/FinalModifierOnCaseClass and WartRemover/FinalCaseClass). I plan to add it to the next version of the article.
-
Which static analysis tool do you use for Scala?
The support for scala 3 has been requested a while ago: https://github.com/scapegoat-scala/scapegoat/issues/521 but the original author has stepped down as a maintainer https://github.com/scapegoat-scala/scapegoat/issues/567 and recently most of the changes are just dependency updates.
sbt-tpolecat
Posts with mentions or reviews of sbt-tpolecat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-24.
-
Scala Resurrection
I'm awed by the maturity of the Scala 2 compiler. Every minor version in the 2.13 series adds a new linting improvement. You can see that if you have sbt-tpolecat in your project. I'm always happy to see that some option from Wartremover is no longer used.
-
Why are effects better for retries than Future?
Note that this assumes that non-Unit values are silently thrown away, which you should always configure scalac, preferably via sbt-tpolecat, not to allow.
-
New to Scala;
sbt-tpolecat to automatically provide reasonable Scala compiler settings.
-
Scala and Java Upgrade strategy
Start with settings strict compiler flags if you haven't already, for instance using sbt-tpolecat. This will help you remove the most obvious warts in your codebase.
-
Which static analysis tool do you use for Scala?
However, after a while, I found that most of the things I needed were already covered by the compiler. And that Rob's (aka tpolecat) list of compiler options provided all the ones I needed for my style of coding. I Then learn that there was this sbt plugin that managed the list for me and also took care of changing the options according to the Scala version.
-
Is there a way to beautify the code after Scala 3 migration?
Sorry, have nothing useful to contribute (although I'd recommend you to set a restrictive set of scalac flags, for example from sbt-tpolecat, to let compiler help you), but just wanted to praise the Scala team and remind us of all those "Python 3 situation" rants we've saw 2 years ago and how silly they look now.
What are some alternatives?
When comparing Scapegoat and sbt-tpolecat you can also consider the following projects:
Scalastyle - scalastyle
scaluzzi - Additional rules for Scalafix. The part of scalazzi rules.
Wartremover - Flexible Scala code linting tool
Scalafix - Refactoring and linting tool for Scala
scalafix-organize-imports - A CI-friendly Scalafix semantic rule for organizing imports
Linter - Static Analysis Compiler Plugin for Scala
sbt-jni - SBT Plugin to ease working with JNI
Scoverage - Scoverage Scala Code Coverage Core Libs
sbt-dependency-check - SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow:
Scalariform - Scala source code formatter
Scapegoat vs Scalastyle
sbt-tpolecat vs scaluzzi
Scapegoat vs Wartremover
sbt-tpolecat vs Scalafix
Scapegoat vs Scalafix
sbt-tpolecat vs scalafix-organize-imports
Scapegoat vs Linter
sbt-tpolecat vs sbt-jni
Scapegoat vs Scoverage
sbt-tpolecat vs sbt-dependency-check
Scapegoat vs Scalariform
sbt-tpolecat vs Wartremover