Release 0.1.6
Release highlights
*Diktat checks it's own code
- 3 new rules
- a lot of bugfixes
New features
- d8651d2 Rule 6.1.3 Do not use the primary constructor if it is empty and has no sense (#528)
- 4ab49e1 Rule 6.1.7 implicit backing property(#443) (#465)
- 89873bb Mechanism to exclude files from check (#563)
- 11d2c4c diktat-analysis.yml can be read from a path, where jar is stored (#588)
- fefe2fd Changing functionality for AVOID_NULL_CHECK (#564)
- 80cad9d Rule 6.4.1: Avoid using utility classes/objects (#508)
- 312bab6 No trigger on individual tag without KDoc (#583)
- ac92d54 KDoc check property in class (#598)
Bugfixes
- 205dbfc Removing complex cases from the warning related to null checks (#532)
- 3888e94 Bugfix. ClassCastException in IndentationRule when blank line is added after @implNote tag in KDoc (#527)
- 0bf93cf Bugfix. Newline at the beginning of code block is not removed if there are more than one (#537)
- a1ccdbd WhiteSpaceRule after NewlinesRule (#549)
- 0dd9f90 different functions due to semicolon (#557)
- cd83754 Bugfix. False-positive LOCAL_VARIABLE_EARLY_DECLARATION (#535)
- 0bc75c8 bugfix/make-kdoc-functions-not-mandatory(#551) (#565)
- 3e91e26 Wrong braces with comments (#540)
- 07829e0 Private property in KDoc (#575)
- 047ad05 Fix for #585 - false positive NO_BRACES_IN_CONDITIONALS_AND_LOOPS when there is a comment in when entry (#591)
- 4ce391a Bugfix. Comments should be indented as the code they are commenting (#566)
- 2349037 hotfix: NPE in IndentationRule on last comment in code block (#595)
- 6d4a8ef Bugfix. KdocMethod should not raise warning on override fun (#594)
- 078b6d7 Bugfix. Lambda passed as an argument is forced to be on the same line as the previous argument (#545)
- 27b7973 Overridden functions are excluded from FUNCTION_BOOLEAN_PREFIX (#567)
- dc1ba8d Removing transitive dependency on kotlinpoet (#584)
- 592031c Bugfix. NPE in indentation rule(#555) (#596)
- 6d31422 Fix handling empty inputs in diktat-gradle-plugin (#611)
- 0af6e32 function style bug in NewlinesRule (#580)
- ca50c60 Fix for ArrayIndexOutOfBoundsException in #371 (#612)
- ac07d98 Bugfix. CompactInitializationRule builds incorrect tree(#599) (#600)
- d2223c5 Removed file path from warning messages (#621)
Docs
- 052bd9d Adding warnings to rules mapping in enum (#558)
- d622fdc White-paper (#438)
- b1b85e0 Reviewed changes for the Code Style guide (#521)
- 5426cd4 Code style guide release (#582)
- 9cd02d7 Added documentation for property tag usage in KDocs (#559)
- 4ca8322 Update diktat-coding-convention.md
- 123e9d4 Update guide-chapter-2.md
- 62852a5 New changes in the code-style (polishing) (#593)
- 7237c77 Update rules-mapping.md
- c0bacd1 Feature. Code style parser to tex (#586)
Housekeeping
- bbb494b diktat-examples refactoring and CI (#548)
- 4d17fe0 Created tests for diktat-gradle-plugin (#561)
- 67ffa9c Making diktat consistent with own code style (#556)
- ecfee94 Fixes for diktat check workflows (#613)
- c73048a Integration tests for diktat-maven-plugin (#607)