Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Releases: beautiful-scala/scalastyle

v1.5.1

22 Aug 17:54
150edba
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

🧰 Maintenance

🔧 Dependency updates

v1.5.0

28 Jul 22:10
fd542f0
Compare
Choose a tag to compare

What’s Changed

🚀 Features

🧰 Maintenance

  • Reformat with the latest scalafmt. (#85) @mwz
  • Bump Scala versions; add ThrowChecker to the default config. (#84) @mwz
  • Update scala to 2.12.11 (#42) @anilkumarmyla

🔧 Dependency updates

v1.4.0

01 Mar 16:08
be872d9
Compare
Choose a tag to compare

What’s Changed

⚙️ Config

  • Add full stops to rule messages and descriptions. (#33) @mwz
  • Make formatting of xml config more consistent. (#31) @mwz
  • Add regex param to HeaderMatchesChecker rule in the default config. (#27) @mwz

🧰 Maintenance

  • Add config category to release drafter. (#35) @mwz
  • Fix the label of the ScalaDocChecker rule. (#34) @mwz
  • Fix snapshot versioning. (#32) @mwz
  • Label scala-steward's PRs with Mergify (#30) @mwz
  • Fix munit interface. (#28) @mwz
  • Add release drafter. (#29) @mwz

🔧 Dependency updates

v1.3.0

14 Feb 22:28
@mwz mwz
6adbc19
Compare
Choose a tag to compare

New features

  • Add CurliesImportChecker rule, which allows only for single imports (no renaming and no hiding imports are allowed in order to minimize merge errors in import declarations). This rule is disabled by default. (#12 - @sherfert)

Improvements

  • Make PackageNamesChecker allow only lowercase letters in package names. (#18 - @anilkumarmyla)

v1.2.0

12 Feb 00:24
@mwz mwz
c0322a9
Compare
Choose a tag to compare

Fixes and improvements

v1.1.1

06 Feb 23:27
@mwz mwz
dc1b2c7
Compare
Choose a tag to compare

Fixes

v1.1.0

05 Jan 21:24
@mwz mwz
47fb4c4
Compare
Choose a tag to compare

New features

  • Cross compile for 2.13. (#353 - @cddude229)
  • Add CaseBraceChecker rule - braces aren't required in case clauses. (#305 - @evis)
  • Add WhileBraceChecker rule - it's recommended to never omit braces when using while. (#306 - @evis)
  • Add ForLoopChecker rule - omit braces if you have a yield clause, otherwise, surround the contents with curly-braces, even if the contents are only a single line. (#303 - @Darhazer)

Fixes and improvements

  • Upgrade scalariform to 0.2.10, which brings the following changes:
    • Add support for multiline param groups.
    • Add support for inline single case statements.
    • Add trailing comma support and support for Scala 2.13.
  • Allow the MethodLengthChecker to ignore empty lines. (#301 - @canoztokmak)
  • Enhance RedundantIfChecker to raise violations also when the true/false statements are in braces. (#296 - @mccartney)
  • Fix ProcedureDeclarationChecker rule name in the config. (#299 - @BalmungSan)
  • Fix ScalaDocChecker warnings if implicit def found first in an object. (#285 - @tanishiking)
  • Make MagicNumberChecker's ignore param tolerate spaces. (#289 - @lonlylocly)
  • Add singleLineAllowed option to ForBraceChecker. (#287 - @marconilanna)
  • Include regex parameter to HeaderMatchesChecker. (#288 - @Kuroshii)
  • Add an option to NonASCIICharacterChecker to allow international characters in string literals. (#284 - @marconilanna)
  • Fix NonASCIICharacterChecker to inspect the raw text. (#274 - @latkin)
  • Add scala.Any and Object to the list of "object" types. (#282 - @nrinaudo)
  • Fix #279 NullPointerException when trying to create intermediate directories for output. (bb0218e - @matthewfarwell)