Skip to content

Release 0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Dec 10:26
e2df0c8

Hightlihts

A lot of bugfixes, improved testing process. Diktat now better follow semver versioning.

Features

  • 6ea31f7 Feature. Recommendation 6.4.2: Objects should be used for Stateless Interfaces
  • 8baf3d8 Null safety in NewlinesRule (#634)

Bugfixes

  • 791413b Bugfix. FP EMPTY_BLOCK_STRUCTURE_ERROR on SAM overrides
  • d690c0f Fixes for FileStructureRule (#636)
  • 4edbd78 Bugfix. CommentsRule doesn't detect commented out class declaration (#630)
  • c1c8d2d Bugfix. FP of LOCAL_VARIABLE_EARLY_DECLARATION with other variables and a loop (#635)
  • 2a29553 Correct order in ClassLikeStructursOrderRule (#637)
  • 12af2ac FP in AnnotationNewLineRule with comment (#629)
  • e38ee59 Bugfix. A lot of FP LOCAL_VARIABLE_EARLY_DECLARATION (#642)
  • f6786c2 Bugfix. Newline rule rbrace(#617) (#650)
  • 4fdf376 Fix for incorrect variable name handle (#646)
  • dcd1433 Bugfix. Broken autofix for top-level block comment with multiline text (#661)
  • ee08aa4 Bugfix. CommentedCode when text inside block comment may be interpreted as KDoc (#664)
  • 26c838e Added fix in AnnotationNewLineRule (#662)
  • 2faaefc BugFix. Incorrect warning of LONG_NUMERICAL_VALUES_SEPARATED. (#660)
  • ac8bcb0 Bugfix. When changing indentation of multiline string, all lines should be changed (#670)
  • e2df0c8 DataClassesRule shouldn't trigger when no property in constructor (#671)

Documentation

Housekeeping

Dependency updates

  • 3efb993 Bump kotlin.version from 1.4.20 to 1.4.21 (#638)
  • 9b853b1 (feature/check-rules-are-commented#470) Bump detekt-maven-plugin from 1.14.2 to 1.15.0 (#669)