Scalastyle
scalastyle (by scalastyle)
Scalafix
Refactoring and linting tool for Scala (by scalacenter)
Scalastyle | Scalafix | |
---|---|---|
1 | 6 | |
676 | 835 | |
0.0% | 0.5% | |
0.0 | 9.4 | |
about 2 years ago | 10 days ago | |
Scala | Scala | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
Scalastyle
Posts with mentions or reviews of Scalastyle.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-08.
-
Checklist for learning Scala
Find a code conventions document: the online Scala course that I’ve started uses Scalastyle for enforcing the style of the code. If it’s good enough for the Scala core team, it’s good enough for me.
Scalafix
Posts with mentions or reviews of Scalafix.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-11.
-
Security static analysis tooling for Scala?
I also recommend using Scalafix. It's a tool which can lint your codebase, checking for potentially problematic things, like
-
Which static analysis tool do you use for Scala?
Scalafix
-
Dragging Haskell Kicking and Screaming into the Century of the Fruitbat :: Reasonably Polymorphic
scala-fix seems relevant for the /= removal problem.
- Newspeak and Domain Modeling
-
Scala noob question. Parameter of type Option. Why does scala compiler allows passing null as an argument?
I actually still recommend using WartRemover, at least until there's an equivalent ScalaFix ruleset that's as effective.
-
Teaching exercises with custom error messages
Probably linting rules defined in Scalafix. See https://github.com/scalacenter/scalafix/blob/master/scalafix-rules/src/main/scala/scalafix/internal/rule/DisableSyntax.scala#L11 for an example.
What are some alternatives?
When comparing Scalastyle and Scalafix you can also consider the following projects:
scalafmt - This repo is now a fork of --->
Scapegoat - Scala compiler plugin for static code analysis
Wartremover - Flexible Scala code linting tool
Scalariform - Scala source code formatter
scala-3-migration-guide - The Scala 3 migration guide for everyone.
Scoverage - Scoverage Scala Code Coverage Core Libs
Mill - Mill is a fast JVM build tool that supports Java, Scala and Kotlin. 2-4x faster than Gradle and 4-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
Linter - Static Analysis Compiler Plugin for Scala