exposed-upsert
exposed-upsert copied to clipboard
Bump io.gitlab.arturbosch.detekt:detekt-formatting from 1.21.0 to 1.23.0
Bumps io.gitlab.arturbosch.detekt:detekt-formatting from 1.21.0 to 1.23.0.
Release notes
Sourced from io.gitlab.arturbosch.detekt:detekt-formatting'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
- #5700BracesOnWhenStatements
- #5838CastNullableToNonNullableType
- #5653DoubleNegativeLambda
- #5937ForbiddenAnnotation
- #5515PropertyUsedBeforeDeclaration
- #6062StringShouldBeRawString
- #5705SuspendFunSwallowedCancellation
- #5666UnusedParameter
- #5722UnusedPrivateProperty
- #5722UseLet
- #6091UnnecessaryBracesAroundTrailingLambda
- #6029- Plus the bump to KtLint 0.49.1 added the following rules to the
detekt-formatting
ruleset:
ClassName
- #6037EnumWrapping
- #6028FunctionName
- #6037IfElseBracing
- #6028IfElseWrapping
- #6028MultilineExpressionWrapping
- #6028NoBlankLineInList
- #6028NoConsecutiveComments
- #6028NoEmptyFirstLineInClassBody
- #6028NoSingleLineBlockCommentRule
- #6104ParameterWrapping
- #6028PropertyName
- #6037PropertyWrapping
- #6028StringTemplateIndent
- #6028TryCatchFinallySpacing
- #6028- Notable changes to existing rules:
UnnecessaryAbstractClass
now only runs with type resolution - #5829UnusedPrivateMember
has been refactored with some of its logic moved toUnusedParameter
andUnusedPrivateProperty
- #5722- Removed the
ignoreOverridden
config fromBooleanPropertyNaming
,ConstructorParameterNaming
,FunctionNaming
,VariableNaming
andFunctionParameterNaming
as not useful for those rules - #5718- Added
ignoredSubjectTypes
to ruleElseCaseInsteadOfExhaustiveWhen
to specify types that should be ignored by the rule (#5623) - #5634- Added
allowOperators
to ruleDataClassContainsFunctions
- #5658MandatoryBracesIfStatements
has been removed in favor ofBracesOnIfStatements
- #5700- Added
ignoreWhenContainingVariableDeclaration
toUseIfInsteadOfWhen
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
Addcomments
with a list of regexes toForbiddenComment
(#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 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)
Deploying with
Cloudflare Pages
Latest commit: |
1e50739
|
Status: | ✅ Deploy successful! |
Preview URL: | https://46829f0c.exposed-upsert.pages.dev |
Branch Preview URL: | https://dependabot-gradle-io-gitlab.exposed-upsert.pages.dev |