detekt v1.8.0 Release Notes

Release Date: 2020-04-20 // about 4 years ago
  • Notable Changes
    • ๐Ÿ‘ Most rule properties now support yaml lists next to string's with comma-separated-entries.
    • ๐Ÿš€ Standalone detekt executable on GitHub release pages
    • ๐Ÿ†• New rules: UnnecessaryNotNullOperator and UnnecessarySafeCall
    Migration
    • Formatting rules get reported now on the correct lines. The baseline file may need to be adjusted/regenerated.
    • Issues concerning classes and objects are not reported at the identifier. The baseline file may need to be adjusted/regenerated.
    ๐Ÿ”„ Changelog
    • ๐Ÿ”ง Use yaml lists in our own configuration and tests - #2623
    • โš™ Run code coverage as an own action - #2622
    • ๐Ÿ— Modularize build script by introducing buildSrc module - #2621
    • *>excludes allow yaml list - #2620
    • Kotlin to 1.3.72 - #2619
    • ๐Ÿ”€ Set failfast to false for pre-merge - #2618
    • ๐Ÿ“š Update documentation - #2617
    • ThrowingExceptionsWithoutMessageOrCause>exceptions allow yaml list - #2616
    • SwallowedException>ignoredExceptionTypes allow yaml list - #2615
    • ๐Ÿ“ฆ ForbiddenPublicDataClass>ignorePackages allow yaml list - #2614
    • LabeledExpression>ignoredLabels allow yaml list - #2613
    • ForbiddenMethodCall>methods allow yaml list - #2612
    • Generate the cli as a stand alone executable - #2607
    • Report class and object violations at the identifier - #2606
    • ๐Ÿ›  Fix formatting line reporting - #2604
    • ๐Ÿ“š Correct documentation/recommendation of EmptyCatchBlock rule - #2603
    • Incorrect (or unclear) EmptyCatchBlock rule - #2602
    • ๐Ÿ‘• Use more lintAndCompile - #2601
    • MagicNumber>ignoredNumbers allow yaml list - #2600
    • โœ‚ Remove unnecesary symbolic link - #2598
    • WildcardImport>excludeImports allow yaml list - #2596
    • ForbiddenClassName>forbiddenName allow yaml list - #2595
    • ๐Ÿ›  Fix false positives in UndocumentedPublicProperty - #2591
    • ๐Ÿ›  Fix false positive in UndocumentedPublicClass - #2588
    • *>Annotated allow yaml lists - #2587
    • ForbiddenComment>values allow yaml list - #2585
    • ExceptionRaisedInUnexpectedLocation>methodNames allow yaml list - #2584
    • ComplexMethod>nestingFunctions allow yaml list - #2583
    • UndocumentedPublicClass false positive for inner types - #2580
    • ๐Ÿ†• New Rule: UnnecessaryNotNullOperator - #2578
    • ๐Ÿ†• New Rule: UnnecessarySafeCall - #2574
    • ๐Ÿ†• New Rule: UnnecessarySafeCall - #2572
    • โž• Add ignoreAnnotated option to LongParameterList - #2570
    • ๐Ÿ”ง Rule configuration request: Ignore based on annotations - #2563
    • โœ… codecov test coverage report doesn't work correctly - #2558
    • ๐Ÿ‘Œ Support yaml lists in the configuration values - #2498
    • Baseline ignoring MaxLineLength: on 1.0.1 - #1906
    • Formatting rules are reported at wrong line (e.g. MaximumLineLength) - #1843

    ๐Ÿ‘€ See all issues at: 1.8.0