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
andUnnecessarySafeCall
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