Repository navigation
deps: update detekt to v2.0.0-alpha.7 - #92
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/detekt
branch
from
December 3, 2026 13:46
3230e18 to
d91d233
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.0-alpha.6→2.0.0-alpha.72.0.0-alpha.6→2.0.0-alpha.7Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
detekt/detekt (dev.detekt:detekt-rules-ktlint-wrapper)
v2.0.0-alpha.7This is an alpha release of Detekt 2.0.0. It's built against Kotlin 2.4.10 (Kotlin Gradle Plugin 2.4.21), Gradle 9.9.3, AGP 9.5.3 and is tested against JDK 25.
Notable Changes
detekt-compiler-pluginhas been removed - #9611AvoidDollarLiteralInterpolation- #9631CollapseAnnotationUseSiteTargets- #9657EqualsWithHashCodeUseSameFields- #9774ForbiddenSuperclass- #9856IgnoredJavaDefaultMethod- #9526MissingStackTraceRecoverable- #9775OneTopLevelTypePerFile- #9385UnnecessaryChainedSafeCall- #9671UnnecessaryCompanionObjectAccess- #9196UnnecessarySubjectlessWhen- #9878ErrorUsageWithThrowable,ObjectExtendsThrowable,CharArrayToStringCall,MissingSuperCall,ExplicitCollectionElementAccessMethod,RedundantConstructorKeyword,StringShouldBeRawString,UnnecessaryBracesAroundTrailingLambda,UnusedImport,UseEmptyCounterpart- #8864NoUnusedImportsis now disabled by default - #9832--auto-correct(orautoCorrecton the Gradle extension or task) - #9684, #9685, #9686, #9687, #9688, #9689Breaking Changes
standard-libraryrule set groups the rules about the Kotlin standard library. Those rules moved from their previous rule sets, so their configuration now goes understandard-library:. Check the standard-library rules page for the full list - #9143autoCorrect: trueon individual rules. If you setautoCorrect: falseat the ktlint ruleset level, ktlint rules now stop correcting instead of overriding that setting with per-rule defaults. If your config was generated by an older detekt version, remove per-ruleautoCorrect: trueentries so the ruleset-level setting takes effect - #9688autoCorrect- #9687active: "true"used to parse, now you need the correct YAML type:active: true- #9049complexityreport moved from core to a first-party plugin. To keep complexity metrics for your project, adddetektPlugin("dev.detekt:detekt-report-complexity:2.0.0-alpha.7")- #9350statisticsreport moved from core to a first-party plugin. To keep statistics for your project, adddetektPlugin("dev.detekt:detekt-report-statistics:2.0.0-alpha.7")- #9343classpathproperty of the detekt task was renamed tolibrariesto match the Kotlin compile task - #9872ConditionWrappingrule was removed - #9745ContextReceiverListWrappingwas renamed toContextParameterListWrapping- #9747--generate-custom-rule-configoption was removed fromdetekt-generator- #9132:detekt-suppressorsmodule - #9663detekt-tooling: theAnalysisModeentries were renamed fromfull/lighttoFull/Light. The CLI--analysis-mode full|lightflag is unchanged - #9001detekt-tooling:DefaultConfigurationProvider.get()was removed so the tooling API no longer exposesConfigfromdetekt-api. Usecopy()to export the default configuration instead - #9639Changelog
NonBooleanPropertyPrefixedWithIsJava reference - #9797basePathissue with build cache - #9752BlankLineBetweenWhenConditions- #9730UnusedPrivatePropertyin constructor - #9632enableCompilerPluginswitch - #9627ElseCaseInsteadOfExhaustiveWhen): false negative when the subject is a variable - #9608let- #9252OutdatedDocumentation- #9229:detekt-report-statistics- #9219:detekt-report-complexity- #9215Dependency Updates
Housekeeping & Refactorings
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @AmrEldeeb5, @Avicennasis, @BraisGabin, @DerSimeon, @Eljees, @Goooler, @Inf1mum, @MsfPablo, @Rattenkrieg, @ShubhamWorks02, @TheNetherWatcher, @Yuki9814, @atulgpt, @benwicks, @cortinico, @dzirbel, @e5l, @eusorov, @eyupcanakman, @hippi345, @jjh75607, @jonapoul, @keta1, @mmathieum, @mwaddo, @olitreadwell, @picklebento, @rastiehaiev, @reginaldalfret, @savvasg28, @shayann07, @shivampwm2020, @t-kameyama, @thejdubb02, @wangkangmao, @yamamoto7
See all issues at: 2.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.