Hi Jean, Very interesting with the rewrite feature of the scalafix tool. I tried it for the `jmap-rfc-8621` module. I got an incompatible issue with the scala version when trying Semantic Rules. Perhaps this is a bug that has not been resolved until now? [1] Error detail: - error: The ExplicitResultTypes rule needs to run with the same Scala binary version as the one used to compile target sources (2.13). To fix this problem, either remove ExplicitResultTypes from .scalafix.conf or make sure the scalafixScalaBinaryVersion setting key matches 2.13. - When I tried with another version, I got another issue: java.lang.NoSuchMethodError: scala.reflect.internal.util.ReusableInstance, scala/collection/IterableOnce.
But, it works fine with Syntactic Rules. So does it make more sense? Do you get the same error? [1] https://github.com/evis/scalafix-maven-plugin/pull/12 Regards, Tung On Fri, Jun 25, 2021 at 2:44 PM Jean Helou <jean.he...@gmail.com> wrote: > Hi tung, > > Have you looked at scalafix[1]? it seems to be much more actively > maintained than scalastyle and I feel that it's scope overlaps scalatyle's > quite a bit... > > [1]https://github.com/scalacenter/scalafix > > Regards, > jean > > > On Fri, Jun 25, 2021 at 8:14 AM tungtv...@gmail.com <tungtv...@gmail.com> > wrote: > > > Hello guys, > > > > I realize the current checkstyle.xml file doesn't support the Scala > > convention. > > Should we have a checkstyle for that? > > > > My suggestion: > > - https://github.com/scalastyle/scalastyle > > > > - https://github.com/scalastyle/scalastyle-maven-plugin > > > > > > Best Regards, > > > > Tung, Van TRAN > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > > For additional commands, e-mail: server-dev-h...@james.apache.org > > > > > -- Tung, Tran Van *Phone:* (+84) 35 757 6258 *Skype:* tung.tv202