fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.8 #278
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:
1.20.0->1.23.8Release Notes
detekt/detekt (io.gitlab.arturbosch.detekt:detekt-formatting)
v1.23.81.23.8 - 2025-02-20
This is a point release for Detekt
1.23.0, built against Kotlin2.0.21, with fixes for several bugs that got reported by the community.Notable Changes
Changelog
expectclasses - #7857ThrowingExceptionsWithoutMessageOrCausefalse positive - #7715UndocumentedPublicClassconfigurable to flag `com… - #7635Contributors
We would like to thank the following contributors that made this release possible: @BraisGabin, @JordanLongstaff, @Nava2, @atulgpt, @eygraber, @lexa-diky, @t-kameyama
v1.23.71.23.7 - 2024-09-08
This is a point release for Detekt
1.23.0, built against Kotlin2.0.10, with fixes for several bugs that got reported by the community.Notable Changes
Changelog
UndocumentedPublicProperty- #7426public companionobject forUndocumentedPublicClass- #7219Housekeeping/Docs
v1.23.61.23.6 - 2024-03-23
This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.23and fixed several bugs that got reported by the community.Changelog
Contributors
We would like to thank the following contributors that made this release possible: @BraisGabin, @psuzn, @t-kameyama.
v1.23.5This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.22and fixed several bugs thatgot reported by the community.
Notable Changes
Changelog
USELESS_ELVISinUnreachableCode- #6624Housekeeping & Refactorings
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @TWiStErRob, @atulgpt, @matejdro
v1.23.41.23.4 - 2023-11-26
This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.21and fixed several bugs thatgot reported by the community.
Notable Changes
Changelog
Dependency Updates
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @BraisGabin, @Gosunet, @atulgpt, @t-kameyama
v1.23.31.23.3 - 2023-10-31
This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.10and fixed several bugs thatgot reported by the community.
NOTE: This is a republishing of 1.23.2 which was accidentally published against Kotlin 1.9.0 instead of 1.9.10
Changelog
IgnoredReturnValuewith scope functions - #6446Dependency Updates
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @arturbosch, @atulgpt, @kkocel, @marschwar, @pablobaxter, @t-kameyama
v1.23.21.23.2 - 2023-10-29
NOTE: Please use version 1.23.3 instead - Version 1.23.2 was accidentally built against Kotlin 1.9.0 instead of 1.9.10
https://github.com/detekt/detekt/releases/tag/v1.23.3
This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.10and fixed several bugs thatgot reported by the community.
Changelog
IgnoredReturnValuewith scope functions - #6446Dependency Updates
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @arturbosch, @atulgpt, @kkocel, @marschwar, @pablobaxter, @t-kameyama
v1.23.11.23.1 - 2023-07-30
This is a point release for Detekt
1.23.0, where we added support for Kotlin1.9.0and fixed several bugs thatgot reported by the community.
Notable Changes
Changelog
..<andrangeToin theForEachOnRangerule - #6197UseDataClassif class contains non-property parameters - #6173replaceIndentandprependIndent- #6154Dependency Updates
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @Goooler, @Hexcles, @PoisonedYouth, @TWiStErRob, @VirtualParticle, @atulgpt, @cortinico, @dzirbel, @eygraber, @marschwar, @rmarquis, @segunfamisa, @severn-everett, @t-kameyama
See all commit history here
v1.23.0We'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
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 - #5492BracesOnIfStatements- #5700BracesOnWhenStatements- #5838CastNullableToNonNullableType- #5653DoubleNegativeLambda- #5937ForbiddenAnnotation- #5515PropertyUsedBeforeDeclaration- #6062StringShouldBeRawString- #5705SuspendFunSwallowedCancellation- #5666UnusedParameter- #5722UnusedPrivateProperty- #5722UseLet- #6091UnnecessaryBracesAroundTrailingLambda- #6029detekt-formattingruleset:ClassName- #6037EnumWrapping- #6028FunctionName- #6037IfElseBracing- #6028IfElseWrapping- #6028MultilineExpressionWrapping- #6028NoBlankLineInList- #6028NoConsecutiveComments- #6028NoEmptyFirstLineInClassBody- #6028NoSingleLineBlockCommentRule- #6104ParameterWrapping- #6028PropertyName- #6037PropertyWrapping- #6028StringTemplateIndent- #6028TryCatchFinallySpacing- #6028UnnecessaryAbstractClassnow only runs with type resolution - #5829UnusedPrivateMemberhas been refactored with some of its logic moved toUnusedParameterandUnusedPrivateProperty- #5722ignoreOverriddenconfig fromBooleanPropertyNaming,ConstructorParameterNaming,FunctionNaming,VariableNamingandFunctionParameterNamingas not useful for those rules - #5718ignoredSubjectTypesto ruleElseCaseInsteadOfExhaustiveWhento specify types that should be ignored by the rule (#5623) - #5634allowOperatorsto ruleDataClassContainsFunctions- #5658MandatoryBracesIfStatementshas been removed in favor ofBracesOnIfStatements- #5700ignoreWhenContainingVariableDeclarationtoUseIfInsteadOfWhento ignore captured variables - #5681detekt-formattingruleset now accepts anindentSizeparameter (see the full list here).detekt-formattingruleset are now turned on by default (see the full list here).includes/excludeslogic on the config file as they were overriding each other - #5782detekt-test-utils. The recommended testing framework is JUnit - #5785v6.8.3- #5616v8.1, AGP8.0.1, Kotlin1.8.21and KtLint0.49.1(see #5893 #5723 #5877 #6028 #6043 #5995 #5996)Changelog
commentswith a list of regexes toForbiddenComment- #5981requireRootInDeclarationcheck inInvalidPackageDeclaration- #6045detekt-versions.propertiesinstead ofversions.properties- #6006allowOmitUnitto ruleLibraryCodeMustSpecifyReturnType- #58618c8d71d- #5966Unitfor ImplicitUnitReturnType rule - #5857TestConfigusages - #5801namethat return name after backticks - #5719CanBeNonNullablerule - #5714MaxLineLength- #5583Dependency Updates
Housekeeping & Refactorings
eaaf4be- #6102dependenciesAsNames- #6059ClassNamingandFunctionNaming- #6019detekt-generator- #5854generateWebsite- #5849@Suppress("ReturnCount")- #5841timesmethod, use stdlib'srepeatinstead. - #5774Contributors
We would like to thank the following contributors that made this release possible: @3flex, @BeBAKE, @BraisGabin, @Goooler, @SaumyaBhushan, @TWiStErRob, @VitalyVPinchuk, @adef145, @asomov, @atulgpt, @chao2zhang, @cketti, @cortinico, @drawers, @dzirbel, @igorwojda, @lexa-diky, @luanpotter, @marschwar, @mjovanc, @mmorozkov, @ncteisen, @osipxd, @ov7a, @schalkms, @t-kameyama, @tresni
See all issues at: 1.23.0
v1.22.0We're extremely excited to announce the next upcoming stable release of Detekt: 1.22.0 🚀
This release is coming with 16 new rules, 2 new rulesets and several new functionalities & APIs.
We've also introduced the Detekt Marketplace, a place for users to share their 3rd party rules and extensions.
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
AlsoCouldBeApply- #5333MultilineRawStringIndentation- #5058TrimMultilineRawString- #5051UnnecessaryNotNullCheck- #5218UnnecessaryPartOfBinaryExpression- #5203UseSumOfInsteadOfFlatMapSize- #5405FunctionReturnTypeSpacingfrom KtLint - #5256FunctionSignaturefrom KtLint - #5256FunctionStartOfBodySpacingfrom KtLint - #5256NullableTypeSpacingfrom KtLint - #5256ParameterListSpacingfrom KtLint - #5256SpacingBetweenFunctionNameAndOpeningParenthesisfrom KtLint - #5256TrailingCommaOnCallSitefrom KtLint - #5312TrailingCommaOnDeclarationSitefrom KtLint - #5312TypeParameterListSpacingfrom KtLint - #5256detekt-rules-ruleauthorscontaining rules for Rule Authors to enforce best practices on Detekt rules such as the newViolatesTypeResolutionRequirements- #5129 #5182detekt-rules-librariescontaining rules mostly useful for Library Authors - We moved the following rules insideForbiddenPublicDataClass,LibraryCodeMustSpecifyReturnType,LibraryEntitiesShouldNotBePublicthis new ruleset - See Migration below on how to migrate #5360--jdk-homeCLI parameter - #5269@RequiresTypeResolutionwhen without Type Resolution - #5176checkExhaustiveness: truein your config file. This is disabled by default. - #5089--fail-fastCLI flag (andfailFastGradle property) has been removed. It was deprecated since 1.16.x - #5290DuplicateCaseInWhenExpression,MissingWhenCase,RedundantElseInWhenas the Kotlin Compiler is already reporting errors for those scenarios - #5309--print-astCLI flag as PsiViewer provides the same features - #5418ArrayPrimitiveis now working only with Type Resolution - #5175WildcardImportis now running also on tests by default - #5121ForbiddenImportallows now to specify a reason for every forbidden import - #4909IgnoredReturnValue: optionrestrictToAnnotatedMethodsis now deprecated in favor ofrestrictToConfig- #4922v7.5.1, AGP7.3.1, Kotlin1.7.21and KtLint0.47.1(see #5363 #5189 #5411 #5312 #5519)v6.7.1- #4964Migration
We deprecated a number of rules in this release.
You should update your config file as follows:
potential-bugs: active: true ... - DuplicateCaseInWhenExpression: - active: true ... - MissingWhenCase: - active: true - allowElseExpression: true ... - RedundantElseInWhen: - active: true style: active: true ... - ForbiddenPublicDataClass: - active: true - excludes: ['**'] - ignorePackages: - - '*.internal' - - '*.internal.*' ... - LibraryCodeMustSpecifyReturnType: - active: true - excludes: ['**'] ... - LibraryEntitiesShouldNotBePublic: - active: true - excludes: ['**']If you wish to use the
librariesruleset we introduced you should add the following to your config file:and add the following to you
build.gradlefile:detektPlugins("io.gitlab.arturbosch.detekt:detekt-rules-libraries:$version")If
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.