github detekt/detekt v1.15.0-RC1

latest releases: v1.23.6, v1.23.5, v1.23.4...
3 years ago

-RC1 - 2020-11-16

Changelog
  • ThrowsCount rule: fix false positive with nested function - #3223
  • False positive in ThrowsCount rule - #3222
  • Refactor UnsafeCallOnNullableType rule - #3221
  • Fix false negatives in UnreachableCode rule - #3220
  • False negatives in UnreachableCode rule - #3219
  • Refactor RedundantElseInWhen to use compiler warning - #3214
  • NullableToStringCall: fix false negative with safe qualified expression - #3213
  • False negative in NullableToStringCall - #3211
  • NullableToStringCall: fix false negatives with qualified expression - #3198
  • False negatives in NullableToStringCall - #3196
  • Check for presence of null case in MissingWhenCase rule - #3194
  • Throw error instead of logging as error in analysis phase - #3193
  • Make kotlinc adapted rule comments internal - #3190
  • MissingWhenCase false negative with nulls - #3189
  • Check for static imports in unused imports rule - #3188
  • Add allowElseExpression configuration for MissingWhenCase rule - #3187
  • Add UseIfEmptyOrIfBlank rule - #3186
  • Fix detektBaseline task filtering .java files - #3185
  • Internal exception should fail the gradle task - #3183
  • Add RedundantHigherOrderMapUsage rule - #3182
  • Fix false negative in IgnoredReturnValue - #3179
  • Fix false positive when to is used to create a pair within a function - #3178
  • False Positive PreferToOverPairSyntax - #3177
  • ListAllWhenCases new rule - #3176
  • Suppress RedundantVisibilityModifierRule if explicit API mode enabled - #3175
  • Hardcode default values - #3171
  • False negative in IgnoredReturnValue - #3170
  • Fix false positive in IgnoredReturnValue - #3169
  • Duplicate deprecated KtLint methods - #3168
  • Introduce NamedArguments rule - #3167
  • Add JSON Schema documentation - #3166
  • Fix MaxLineLengthSuppressed ignoring @Suppress annotation on class - #3164
  • Move internal config api to core module - #3163
  • Use the properties syntax in Gradle docs - #3158 - #3161
  • Fix rule LibraryCodeMustSpecifyReturnType - #3155
  • Update README to mention config auto-complete - #3143
  • @Suppress("MaxLineLength") not working for simple block comment inside class - #3136
  • Support sarif as a report type - #3045 - #3132
  • UnusedImports false positive for enums in annotation attributes (with type resolution) - #3131
  • Unable to generate detektMain baseline for UnsafeCallOnNullableType violations in Android (mixed Kotlin + Java) modules - #3130
  • Suppress RedundantVisibilityModifierRule if explicit API mode enabled - #3125
  • SARIF export support - #3045
  • IgnoredReturnValue false positives - #3043
  • Offset calculation in KtLint deprecated/made private - #3021
  • Map { it } must return an error - #2975
  • Add a rule to flag places where ifBlank and ifEmpty can be used - #2840
  • Remove hardcoded default values from rules - #2597
  • Suggestion: LongParameterList rule but on method call if named argument is not used - #1007
Housekeeping & Refactorings
  • Remove unused format function in RuleExtensions - #3234
  • Update spek to v2.0.14 - #3231
  • Remove already activated rules from detekt.yml - #3230
  • Fix broken website redirects - #3227
  • Remove unused resources from the website - #3226
  • Simplify EqualsOnSignatureLine rule - #3224
  • Remove unnecessary suppression in main - #3217
  • Simplify MissingWhenCase by removing an unnecessary alternative path - #3216
  • Refactor HasPlatformType rule - #3210
  • Remove Suppress annotation from ArrayPrimitive - #3209
  • Refactor UselessCallOnNotNull rule - #3208
  • Refactor MissingWhenCase - #3207
  • Refactor NullableToStringCall - #3206
  • Refactor RedundantElseInWhen - #3205
  • Refactor PreferToOverPairSyntax - #3204
  • Remove Suppress annotation from MagicNumber - #3203
  • Remove Suppress annotation from UnusedImports - #3202
  • Refactor FunctionNaming rule - #3201
  • Setup the website publishing pipeline - #3199
  • Improve code coverage for DefaultCliInvoker testing happy and error path - #3195
  • Make kotlinc adapted rule comments internal - #3192
  • Improve PreferToOverPairSyntax - #3181
  • Simplify PreferToOverPairSyntax check - #3180
  • Improves in IgnoredReturnValue - #3174
  • Move KtFileContent to FileParsingRule - #3173
  • Don't use deprectad onStart - #3172

See all issues at: 1.15.0

Don't miss a new detekt release

NewReleases is sending notifications on new releases.