github pinterest/ktlint 0.48.1

latest releases: 1.3.1, 1.3.0, 1.2.1...
21 months ago

Added

Removed

Fixed

  • An enumeration class having a primary constructor and in which the list of enum entries is followed by a semicolon then do not remove the semicolon in case it is followed by code element no-semi (#1733)
  • Add API so that KtLint API consumer is able to process a Kotlin script snippet without having to specify a file path (#1738)
  • Disable the standard:filename rule whenever Ktlint CLI is run with option --stdin (#1742)
  • Fix initialization of the logger when --log-level is specified. Throw exception when an invalid value is passed. (#1749)
  • Fix loading of custom rule set JARs.
  • Rules provided via a custom rule set JAR (Ktlint CLI) or by an API provider are enabled by default. Only rules in the experimental rule set are disabled by default. (#1747)

Changed

  • Update Kotlin development version to 1.8.0 and Kotlin version to 1.8.0.

Don't miss a new ktlint release

NewReleases is sending notifications on new releases.