Scalastyle 0.5.0 released

41 views
Skip to first unread message

Matthew Farwell

unread,
Jul 3, 2014, 2:54:33 AM7/3/14
to scalasty...@googlegroups.com
Scalastyle 0.5.0 has been released. This is only a 2.10 build, but there is a 2.11 on the way.

It contains the following changes:


New rules:

  • ScalaDocChecker - checks that scaladoc exists for all members of a class
  • SpaceAfterCommentStartChecker - checks that all comment lines start with a space
  • DisallowSpaceAfterTokenChecker - check that no space appears after token(s)
  • DisallowSpaceBeforeTokenChecker - check that no space appears before token(s)
  • EnsureSingleSpaceAfterTokenChecker - check that a space appears after token(s)
  • EnsureSingleSpaceBeforeTokenChecker - check that a space appears before token(s)

Also:

  • End of support for 2.9.x
  • End of support for Eclipse indigo, juno. Only kepler now supported. The others will still probably work.
  • Fixed crash on triple quoted interpolation #103

  • Uses com.typesafe.config rather than java properties - this may help usage of custom checkers
  • Removed scopt dependency
  • Include stacktrace in error message when checkers throw an exception. #91
  • IllegalImportsChecker now has exemptImports parameter
  • sbt plugin now uses sbt logging, not println
  • Add support for quiet/verbose output in TextOutput


As normal, you can use this through:

Maven Plugin
Eclipse plugin (for 4.2 Juno / 4.3 Kepler)
SBT plugin
Command line

There is an Intellij plugin and a sonar plugin in the works. If you want to help out, please contact us.

See http://www.scalastyle.org for more information.

Matthew Farwell.
Reply all
Reply to author
Forward
0 new messages