sczerwinski / android-room

Extensions for Jetpack Room
https://czerwinski.it/projects/android-room/
Apache License 2.0
3 stars 0 forks source link

Bump io.gitlab.arturbosch.detekt from 1.22.0 to 1.23.0 #142

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps io.gitlab.arturbosch.detekt from 1.22.0 to 1.23.0.

Release notes

Sourced from io.gitlab.arturbosch.detekt's releases.

v1.23.0

We're so proud to announce the next upcoming stable release of detekt: 1.23.0 🚀 This release is coming with 25 new rules and much more.

We moved the detekt-compiler-plugin to the main repo, and you can now use it in your builds following the official documentation.

This release also marks the beginning of development of 2.x from the main branch! You can follow the progress here

We want to take the opportunity to thank our Sponsors and our Contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).

Notable Changes
  • This is the first version of Detekt that ships with the detekt-compiler-plugin. The Detekt Compiler plugin is still experimental, but we're moving it closer to Detekt to make it easier to integrate. From now on the compiler plugin will follow the same versioning schema as Detekt. We invite you to try it and provide feedback till we stabilize it. You can read more about it in the official documentation page - #5492
  • We added 25 new Rules to detekt
    • BracesOnIfStatements - #5700
    • BracesOnWhenStatements - #5838
    • CastNullableToNonNullableType - #5653
    • DoubleNegativeLambda - #5937
    • ForbiddenAnnotation - #5515
    • PropertyUsedBeforeDeclaration - #6062
    • StringShouldBeRawString - #5705
    • SuspendFunSwallowedCancellation - #5666
    • UnusedParameter - #5722
    • UnusedPrivateProperty - #5722
    • UseLet - #6091
    • UnnecessaryBracesAroundTrailingLambda - #6029
    • Plus the bump to KtLint 0.49.1 added the following rules to the detekt-formatting ruleset:
      • ClassName - #6037
      • EnumWrapping - #6028
      • FunctionName - #6037
      • IfElseBracing - #6028
      • IfElseWrapping - #6028
      • MultilineExpressionWrapping - #6028
      • NoBlankLineInList - #6028
      • NoConsecutiveComments - #6028
      • NoEmptyFirstLineInClassBody - #6028
      • NoSingleLineBlockCommentRule - #6104
      • ParameterWrapping - #6028
      • PropertyName - #6037
      • PropertyWrapping - #6028
      • StringTemplateIndent - #6028
      • TryCatchFinallySpacing - #6028
  • Notable changes to existing rules:
    • UnnecessaryAbstractClass now only runs with type resolution - #5829
    • UnusedPrivateMember has been refactored with some of its logic moved to UnusedParameter and UnusedPrivateProperty - #5722
    • Removed the ignoreOverridden config from BooleanPropertyNaming, ConstructorParameterNaming, FunctionNaming, VariableNaming and FunctionParameterNaming as not useful for those rules - #5718
    • Added ignoredSubjectTypes to rule ElseCaseInsteadOfExhaustiveWhen to specify types that should be ignored by the rule (#5623) - #5634
    • Added allowOperators to rule DataClassContainsFunctions - #5658
    • MandatoryBracesIfStatements has been removed in favor of BracesOnIfStatements - #5700
    • Added ignoreWhenContainingVariableDeclaration to UseIfInsteadOfWhen to ignore captured variables - #5681

... (truncated)

Commits
  • ad80630 Prepare Detekt 1.23.0 (#6120)
  • f3f0ce4 Replace sarif4k usage with Groovy JSON from gradleApi() in detekt-gradle-plug...
  • e65ef3b Add comments with a list of regexes to ForbiddenComment (#5981)
  • 67d2c72 Reduce LoopWithTooManyJumpStatements finding scope (#6110)
  • f99ac58 SerialVersionUIDInSerializableClass - Update the error location (#6114)
  • 93de544 Inline Cases enum and inline other external test code into the test classes (...
  • 940af07 New wrapped ktlint rule NoSingleLineBlockCommentRule (#6104)
  • 20853fc Changed TwitterCompose ruleset to maintained version (#6108)
  • d807375 Update dependency io.github.detekt.sarif4k:sarif4k to v0.4.0 (#6113)
  • 01fa957 Update dependency com.pinterest.ktlint:ktlint-ruleset-standard to v0.49.1 (#6...
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #153.