detekt/detekt
### [`v1.23.0`](https://togithub.com/detekt/detekt/releases/tag/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](https://detekt.dev/docs/gettingstarted/compilerplugin).
This release also marks the beginning of development of 2.x from the main branch! [You can follow the progress here](https://togithub.com/detekt/detekt/discussions/6035)
We want to take the opportunity to thank [our Sponsors](https://togithub.com/sponsors/detekt) 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](https://kotlinlang.slack.com/archives/C88E12QH4) channel on KotlinLang's Slack (you can [get an invite here](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up)).
##### Notable Changes
- This is the first version of Detekt that ships with the `detekt-compiler-plugin`. The [Detekt Compiler plugin](https://detekt.dev/docs/gettingstarted/compilerplugin) 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](https://detekt.dev/docs/gettingstarted/compilerplugin) - [#5492](https://togithub.com/detekt/detekt/pull/5492)
- We added **25** new Rules to detekt
- `BracesOnIfStatements` - [#5700](https://togithub.com/detekt/detekt/pull/5700)
- `BracesOnWhenStatements` - [#5838](https://togithub.com/detekt/detekt/pull/5838)
- `CastNullableToNonNullableType` - [#5653](https://togithub.com/detekt/detekt/pull/5653)
- `DoubleNegativeLambda` - [#5937](https://togithub.com/detekt/detekt/pull/5937)
- `ForbiddenAnnotation` - [#5515](https://togithub.com/detekt/detekt/pull/5515)
- `PropertyUsedBeforeDeclaration` - [#6062](https://togithub.com/detekt/detekt/pull/6062)
- `StringShouldBeRawString` - [#5705](https://togithub.com/detekt/detekt/pull/5705)
- `SuspendFunSwallowedCancellation` - [#5666](https://togithub.com/detekt/detekt/pull/5666)
- `UnusedParameter` - [#5722](https://togithub.com/detekt/detekt/pull/5722)
- `UnusedPrivateProperty` - [#5722](https://togithub.com/detekt/detekt/pull/5722)
- `UseLet` - [#6091](https://togithub.com/detekt/detekt/pull/6091)
- `UnnecessaryBracesAroundTrailingLambda` - [#6029](https://togithub.com/detekt/detekt/pull/6029)
- Plus the bump to KtLint 0.49.1 added the following rules to the `detekt-formatting` ruleset:
- `ClassName` - [#6037](https://togithub.com/detekt/detekt/pull/6037)
- `EnumWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `FunctionName` - [#6037](https://togithub.com/detekt/detekt/pull/6037)
- `IfElseBracing` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `IfElseWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `MultilineExpressionWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `NoBlankLineInList` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `NoConsecutiveComments` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `NoEmptyFirstLineInClassBody` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `NoSingleLineBlockCommentRule` - [#6104](https://togithub.com/detekt/detekt/pull/6104)
- `ParameterWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `PropertyName` - [#6037](https://togithub.com/detekt/detekt/pull/6037)
- `PropertyWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `StringTemplateIndent` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- `TryCatchFinallySpacing` - [#6028](https://togithub.com/detekt/detekt/pull/6028)
- Notable changes to existing rules:
- `UnnecessaryAbstractClass` now only runs with type resolution - [#5829](https://togithub.com/detekt/detekt/pull/5829)
- `UnusedPrivateMember` has been refactored with some of its logic moved to `UnusedParameter` and `UnusedPrivateProperty` - [#5722](https://togithub.com/detekt/detekt/pull/5722)
- Removed the `ignoreOverridden` config from `BooleanPropertyNaming`, `ConstructorParameterNaming`, `FunctionNaming`, `VariableNaming` and `FunctionParameterNaming` as not useful for those rules - [#5718](https://togithub.com/detekt/detekt/pull/5718)
- Added `ignoredSubjectTypes` to rule `ElseCaseInsteadOfExhaustiveWhen` to specify types that should be ignored by the rule ([#5623](https://togithub.com/detekt/detekt/issues/5623)) - [#5634](https://togithub.com/detekt/detekt/pull/5634)
- Added `allowOperators` to rule `DataClassContainsFunctions` - [#5658](https://togithub.com/detekt/detekt/pull/5658)
- `MandatoryBracesIfStatements` has been removed in favor of `BracesOnIfStatements` - [#5700](https://togithub.com/detekt/detekt/pull/5700)
- Added `ignoreWhenContainingVariableDeclaration` to `UseIfInsteadOfWhen` to ignore captured variables - [#5681](https://togithub.com/detekt/detekt/pull/5681)
- Several rules in the `detekt-formatting` ruleset now accepts an `indentSize` parameter (see the [full list here](https://togithub.com/detekt/detekt/pull/6028/files#diff-2486d56e6f1bbfcb160b923d15266691f5776948cf5bb31c8fc102bd3cf9513d)).
- We followed the KtLint decisions on turning on some rules by default, so several rules in the `detekt-formatting` ruleset are now turned on by default (see the [full list here](https://togithub.com/detekt/detekt/pull/6028/files#diff-2486d56e6f1bbfcb160b923d15266691f5776948cf5bb31c8fc102bd3cf9513d)).
- We added support for Gradle's Worker API inside Detekt Gradle Plugin, for faster execution on bigger projects. - [#4128](https://togithub.com/detekt/detekt/pull/4128)
- We fixed the `includes`/`excludes` logic on the config file as they were overriding each other - [#5782](https://togithub.com/detekt/detekt/pull/5782)
- We fully removed support for Spek from `detekt-test-utils`. The recommended testing framework is JUnit - [#5785](https://togithub.com/detekt/detekt/pull/5785)
- The minimum supported Gradle version is now `v6.8.3` - [#5616](https://togithub.com/detekt/detekt/pull/5616)
- This version of detekt is built with Gradle `v8.1`, AGP `8.0.1`, Kotlin `1.8.21` and KtLint `0.49.1` (see [#5893](https://togithub.com/detekt/detekt/pull/5893) [#5723](https://togithub.com/detekt/detekt/pull/5723) [#5877](https://togithub.com/detekt/detekt/pull/5877) [#6028](https://togithub.com/detekt/detekt/pull/6028) [#6043](https://togithub.com/detekt/detekt/pull/6043) [#5995](https://togithub.com/detekt/detekt/pull/5995) [#5996](https://togithub.com/detekt/detekt/pull/5996))
- We now added a [Code of Conduct](https://togithub.com/detekt/detekt/blob/main/.github/CODE_OF_CONDUCT.md) to our repo. Please read it and follow it when interacting with our community on our channels.
##### Changelog
- SerialVersionUIDInSerializableClass - Update the error location - [#6114](https://togithub.com/detekt/detekt/pull/6114)
- Reduce LoopWithTooManyJumpStatements finding scope - [#6110](https://togithub.com/detekt/detekt/pull/6110)
- Add alias for SuspendFunWithCoroutineScopeReceiver - [#6089](https://togithub.com/detekt/detekt/pull/6089)
- CastNullableToNonNullableType - Check the SimpleType instead of typeElement - [#6071](https://togithub.com/detekt/detekt/pull/6071)
- Update plugin com.gradle.enterprise to v3.13.1 - [#6069](https://togithub.com/detekt/detekt/pull/6069)
- CanBeNonNullable: Check parent condition for checking if nullability info is used or not - [#6064](https://togithub.com/detekt/detekt/pull/6064)
- Add configuration to add alternate trimming methods - [#6063](https://togithub.com/detekt/detekt/pull/6063)
- Check if property is documented at class header - [#6061](https://togithub.com/detekt/detekt/pull/6061)
- OutdatedDocumentation - Check if only public property is documented - [#6057](https://togithub.com/detekt/detekt/pull/6057)
- UnnecessaryLet: fix false positive in call chains - [#6052](https://togithub.com/detekt/detekt/pull/6052)
- Add `comments` with a list of regexes to `ForbiddenComment` - [#5981](https://togithub.com/detekt/detekt/pull/5981)
- Fix incomplete `requireRootInDeclaration` check in `InvalidPackageDeclaration` - [#6045](https://togithub.com/detekt/detekt/pull/6045)
- BracesOnWhenStatements: fix false positive for necessary braces - [#6042](https://togithub.com/detekt/detekt/pull/6042)
- Fix redundant ClassOrdering violations using maximum increasing section - [#6003](https://togithub.com/detekt/detekt/pull/6003)
- UseIsNullOrEmpty: fix false negative with chained call - [#6027](https://togithub.com/detekt/detekt/pull/6027)
- Create docs for Gradle Worker API - [#6016](https://togithub.com/detekt/detekt/pull/6016)
- Compile compiler plugin against kotlin-compiler-embeddable - [#6012](https://togithub.com/detekt/detekt/pull/6012)
- Update intro.mdx to use setFrom() on detekt config - [#6010](https://togithub.com/detekt/detekt/pull/6010)
- Use `detekt-versions.properties` instead of `versions.properties` - [#6006](https://togithub.com/detekt/detekt/pull/6006)
- Implement parentPath accessor in concrete config implementations - [#6002](https://togithub.com/detekt/detekt/pull/6002)
- Increase ALIASES_LIMIT to 100 for YamlConfig - [#5986](https://togithub.com/detekt/detekt/pull/5986)
- Fix elvis to +/- case in case UnnecessaryParentheses when precedence is unclear - [#5983](https://togithub.com/detekt/detekt/pull/5983)
- jdkHome as [@Internal](https://togithub.com/Internal) - [#5978](https://togithub.com/detekt/detekt/pull/5978)
- Fix broken POM file for detetk-compiler-plugin - [#5971](https://togithub.com/detekt/detekt/pull/5971)
- Fix broken publishToMavenLocal - [#5970](https://togithub.com/detekt/detekt/pull/5970)
- Add `allowOmitUnit` to rule `LibraryCodeMustSpecifyReturnType` - [#5861](https://togithub.com/detekt/detekt/pull/5861)
- Remove dependency that creates a cycle. - [#5777](https://togithub.com/detekt/detekt/pull/5777)
- Update dependency org.jetbrains:annotations to v24 - [#5969](https://togithub.com/detekt/detekt/pull/5969)
- Update github/codeql-action digest to [`8c8d71d`](https://togithub.com/detekt/detekt/commit/8c8d71d) - [#5966](https://togithub.com/detekt/detekt/pull/5966)
- Add functions to ExitOutsideMain rule - [#5963](https://togithub.com/detekt/detekt/pull/5963)
- Update README.md - [#5954](https://togithub.com/detekt/detekt/pull/5954)
- Prevent import statements from counting as references for UnusedPrivateProperty - [#5942](https://togithub.com/detekt/detekt/pull/5942)
- Fix ExpressionBodySyntax not checking property getters/setters - [#5938](https://togithub.com/detekt/detekt/pull/5938)
- Improve correctness of UnusedPrivateProperty - [#5935](https://togithub.com/detekt/detekt/pull/5935)
- Fix documentation for deprecated 'reports' object (Issue [#5908](https://togithub.com/detekt/detekt/issues/5908)) - [#5924](https://togithub.com/detekt/detekt/pull/5924)
- Print file path report as link file - [#5921](https://togithub.com/detekt/detekt/pull/5921)
- "detekt" or "Detekt" - [#5898](https://togithub.com/detekt/detekt/issues/5898)
- Update JSON schema URL - [#5881](https://togithub.com/detekt/detekt/pull/5881)
- Add support for local suppression inside formatting - [#5876](https://togithub.com/detekt/detekt/pull/5876)
- Fix checkExhaustiveness for formatting and third party rules - [#5869](https://togithub.com/detekt/detekt/pull/5869)
- Allow newline style for MaxChainedCallsOnSameLine - [#5865](https://togithub.com/detekt/detekt/pull/5865)
- Declare inputs and outputs to support incremental build for testPluginKotlinc - [#5862](https://togithub.com/detekt/detekt/pull/5862)
- Use code syntax for `Unit` for ImplicitUnitReturnType rule - [#5857](https://togithub.com/detekt/detekt/pull/5857)
- MatchingDeclarationName. KtFilesSpec also remove .common.kt suffix from kotlin files - [#5851](https://togithub.com/detekt/detekt/pull/5851)
- Fix double mutability issues with Gradle plugin's use of ConfigurableFileCollection - [#5850](https://togithub.com/detekt/detekt/pull/5850)
- MagicNumber - Make ignoreNamedArgument catch more complex expression - [#5837](https://togithub.com/detekt/detekt/pull/5837)
- Exclude super call when generating guard clauses - [#5835](https://togithub.com/detekt/detekt/pull/5835)
- Enable test retry for all our modules - [#5825](https://togithub.com/detekt/detekt/pull/5825)
- Stop configuring report merge tasks while configuring Detekt tasks - [#5813](https://togithub.com/detekt/detekt/pull/5813)
- FunctionMatcher support for fully qualified function names - [#5812](https://togithub.com/detekt/detekt/pull/5812)
- Boy Scout - [#5808](https://togithub.com/detekt/detekt/pull/5808)
- Simplify `TestConfig` usages - [#5801](https://togithub.com/detekt/detekt/pull/5801)
- Reduce configuration of UnusedPrivateMember's split rules - [#5800](https://togithub.com/detekt/detekt/pull/5800)
- Force SerialVerionUID to be private - [#5798](https://togithub.com/detekt/detekt/pull/5798)
- Exclude the KMP test folders for android - [#5797](https://togithub.com/detekt/detekt/pull/5797)
- Add aliases for PackageNaming and InvalidPackageDeclaration - [#5795](https://togithub.com/detekt/detekt/pull/5795)
- Forbid using Jupiter Kotlin assertions - [#5794](https://togithub.com/detekt/detekt/pull/5794)
- ModifierOrder: fix false positive with block comments - [#5791](https://togithub.com/detekt/detekt/pull/5791)
- Fixed ProtectedMemberInFinalClass rule reporting valid JVM finalize - [#5788](https://togithub.com/detekt/detekt/pull/5788)
- Remove unnecessary usage of BeforeAll in tests - [#5781](https://togithub.com/detekt/detekt/pull/5781)
- Run Kotlin compiler plugin CLI test as part of standard build - [#5766](https://togithub.com/detekt/detekt/pull/5766)
- Refactor to remove java.util.Array\* imports - [#5761](https://togithub.com/detekt/detekt/pull/5761)
- Replace java.util.Stack with Kotlin's ArrayDeque implementation - [#5760](https://togithub.com/detekt/detekt/pull/5760)
- Replace java.time.Duration with kotlin.time.Duration - [#5759](https://togithub.com/detekt/detekt/pull/5759)
- Add NixOS installation method to doc - [#5757](https://togithub.com/detekt/detekt/pull/5757)
- Remove & forbid usage of java.util.stream - [#5756](https://togithub.com/detekt/detekt/pull/5756)
- Use stdlib functions for file & path operations - [#5754](https://togithub.com/detekt/detekt/pull/5754)
- Enable UnnecessaryBackticks in detekt project - [#5753](https://togithub.com/detekt/detekt/pull/5753)
- Update docusaurus monorepo to v2.3.1 - [#5752](https://togithub.com/detekt/detekt/pull/5752)
- Resolve runtime classpaths consistently with compile classpaths - [#5730](https://togithub.com/detekt/detekt/pull/5730)
- Exclude new Kotlin Test directories in default config - [#5727](https://togithub.com/detekt/detekt/issues/5727)
- Fail when unexpected version of kotlin-compiler-embeddable is on runtime classpath - [#5726](https://togithub.com/detekt/detekt/pull/5726)
- Fix IgnoredReturnValue rule crash in parallel mode - [#5724](https://togithub.com/detekt/detekt/pull/5724)
- Use `name` that return name after backticks - [#5719](https://togithub.com/detekt/detekt/pull/5719)
- UnusedPrivateMember - Fix false positive in case of invoke operator - [#5717](https://togithub.com/detekt/detekt/pull/5717)
- Fix false positive for `CanBeNonNullable` rule - [#5714](https://togithub.com/detekt/detekt/pull/5714)
- IgnoredReturnValue: fix false negative when annotation is on the package - [#5706](https://togithub.com/detekt/detekt/pull/5706)
- Check Thread.sleep for block expression - [#5699](https://togithub.com/detekt/detekt/pull/5699)
- Fix false positive of in UnnecessaryParentheses - [#5684](https://togithub.com/detekt/detekt/pull/5684)
- Fix url and kotlin reference support in kdoc - [#5683](https://togithub.com/detekt/detekt/pull/5683)
- Add config for variable expression in when - [#5681](https://togithub.com/detekt/detekt/pull/5681)
- Enable NoSemicolons rule - [#5663](https://togithub.com/detekt/detekt/pull/5663)
- Use correct resolvable/consumable flags on detekt's configurations - [#5657](https://togithub.com/detekt/detekt/pull/5657)
- Prepare for Gradle 8 - [#5656](https://togithub.com/detekt/detekt/pull/5656)
- ExplicitCollectionElementAccessMethod rule update - [#5654](https://togithub.com/detekt/detekt/pull/5654)
- Cast nullable to non nullable type - [#5653](https://togithub.com/detekt/detekt/pull/5653)
- Enable verbose mode for Codecov GH Action - [#5652](https://togithub.com/detekt/detekt/pull/5652)
- Fail build when issues found with JVM target compatibility of related compile tasks - [#5651](https://togithub.com/detekt/detekt/pull/5651)
- Don't silently use Kotlin compiler fallback strategy - [#5650](https://togithub.com/detekt/detekt/pull/5650)
- Documentation tweaks - [#5639](https://togithub.com/detekt/detekt/pull/5639)
- Have consistent compile-test-snippets between project and system property - [#5630](https://togithub.com/detekt/detekt/pull/5630)
- Exclude operator functions in function min/max length - [#5618](https://togithub.com/detekt/detekt/pull/5618)
- Broken link at EmptyFunctionBlock - [#5604](https://togithub.com/detekt/detekt/pull/5604)
- Update rule description for errorprone rules - [#5603](https://togithub.com/detekt/detekt/pull/5603)
- FunctionMaxLength false positive for overridden methods [#5590](https://togithub.com/detekt/detekt/issues/5590) - [#5599](https://togithub.com/detekt/detekt/pull/5599)
- Report proper code position in `MaxLineLength` - [#5583](https://togithub.com/detekt/detekt/pull/5583)
- Allow access to nonpublic members of public types in java.base/java.lang package - [#5579](https://togithub.com/detekt/detekt/pull/5579)
- NonBooleanPropertyPrefixedWithIs: Allow AtomicBoolean - [#5577](https://togithub.com/detekt/detekt/pull/5577)
- Pass compilation output classes to detekt analysis classpath - [#5556](https://togithub.com/detekt/detekt/pull/5556)
- Fix KDocReferencesNonPublicProperty false positive - [#5534](https://togithub.com/detekt/detekt/pull/5534)
##### Dependency Updates
- Update dependency io.github.detekt.sarif4k:sarif4k to v0.4.0 - [#6113](https://togithub.com/detekt/detekt/pull/6113)
- Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.1 - [#6097](https://togithub.com/detekt/detekt/pull/6097)
- Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.0 - [#6074](https://togithub.com/detekt/detekt/pull/6074)
- Update com.android.tools.build - [#6065](https://togithub.com/detekt/detekt/pull/6065)
- Update JaCoCo to v0.8.10 - [#6044](https://togithub.com/detekt/detekt/pull/6044)
- Update plugin pluginPublishing to v1.2.0 - [#5975](https://togithub.com/detekt/detekt/pull/5975)
- Update ktlint to v0.48.1 - [#5661](https://togithub.com/detekt/detekt/pull/5661)
- Update dependency com.android.tools.build:gradle to v7.4.0 - [#5693](https://togithub.com/detekt/detekt/pull/5693)
- JaCoCo 0.8.9 - [#5959](https://togithub.com/detekt/detekt/pull/5959)
- Update dependency com.github.tschuchortdev:kotlin-compile-testing to v1.5.0 - [#5882](https://togithub.com/detekt/detekt/pull/5882)
- Update dependency org.jetbrains.dokka to v1.8.10 - [#5878](https://togithub.com/detekt/detekt/pull/5878)
- Compile detekt-compiler-plugin against standard Kotlin compiler artifact - [#5765](https://togithub.com/detekt/detekt/pull/5765)
- Migrate to SnakeYAML Engine - [#5751](https://togithub.com/detekt/detekt/pull/5751)
- Update kotlin monorepo to v1.8.10 - [#5745](https://togithub.com/detekt/detekt/pull/5745)
- Update ktlint to v0.48.0 - [#5625](https://togithub.com/detekt/detekt/pull/5625)
- Migrate to Gradle Nexus Publish Plugin - [#5554](https://togithub.com/detekt/detekt/pull/5554)
- Update dependency io.github.detekt.sarif4k:sarif4k to v0.2.0 - [#5496](https://togithub.com/detekt/detekt/pull/5496)
##### Housekeeping & Refactorings
- Inline Cases enum and inline other external test code into the test classes - [#6107](https://togithub.com/detekt/detekt/pull/6107)
- Update codecov/codecov-action digest to [`eaaf4be`](https://togithub.com/detekt/detekt/commit/eaaf4be) - [#6102](https://togithub.com/detekt/detekt/pull/6102)
- Remove unnecessary baselines - [#6092](https://togithub.com/detekt/detekt/pull/6092)
- Remove unused `dependenciesAsNames` - [#6059](https://togithub.com/detekt/detekt/pull/6059)
- Reduce eager POM task creation - [#6041](https://togithub.com/detekt/detekt/pull/6041)
- Improve our configuration of `ClassNaming` and `FunctionNaming` - [#6019](https://togithub.com/detekt/detekt/pull/6019)
- Comment text in the Issue/PR Template - [#5992](https://togithub.com/detekt/detekt/pull/5992)
- Fix typo: Github -> GitHub - [#5956](https://togithub.com/detekt/detekt/pull/5956)
- Review all Detekt and Detekt Gradle Plugin usages. - [#5955](https://togithub.com/detekt/detekt/pull/5955)
- Review all Detekt and Detekt Gradle Plugin usages. - [#5953](https://togithub.com/detekt/detekt/pull/5953)
- Add a test for catching undocumented public interfaces - [#5951](https://togithub.com/detekt/detekt/pull/5951)
- Execute tests in parallel - [#5944](https://togithub.com/detekt/detekt/pull/5944)
- Make GeneratorSpec use resources - [#5932](https://togithub.com/detekt/detekt/pull/5932)
- Cleanup detekt-formatting to use detekt's own assertThat function - [#5911](https://togithub.com/detekt/detekt/pull/5911)
- Stale any issue with support tag in one month - [#5904](https://togithub.com/detekt/detekt/pull/5904)
- Remove instances of double mutability - [#5899](https://togithub.com/detekt/detekt/pull/5899)
- Handle todo in LinesOfCode logic - [#5897](https://togithub.com/detekt/detekt/pull/5897)
- Boy scout - `detekt-generator` - [#5854](https://togithub.com/detekt/detekt/pull/5854)
- Tweak GHA configs a bit - [#5852](https://togithub.com/detekt/detekt/pull/5852)
- Create `generateWebsite` - [#5849](https://togithub.com/detekt/detekt/pull/5849)
- Remove dependency between check and jacocoMergedReport - [#5846](https://togithub.com/detekt/detekt/pull/5846)
- Sort deprecation properties - [#5845](https://togithub.com/detekt/detekt/pull/5845)
- Simplify generate documentation - [#5844](https://togithub.com/detekt/detekt/pull/5844)
- Remove unnecessary `@Suppress("ReturnCount")` - [#5841](https://togithub.com/detekt/detekt/pull/5841)
- Cleaner merging of Gradle blocks for functionalTests - [#5830](https://togithub.com/detekt/detekt/pull/5830)
- Replace trimMargin usages - [#5827](https://togithub.com/detekt/detekt/pull/5827)
- Disable PTS from local and enable it for PRs - [#5826](https://togithub.com/detekt/detekt/pull/5826)
- Activate MultilineRawStringIndentation on detekt - [#5819](https://togithub.com/detekt/detekt/pull/5819)
- Remove single-use `times` method, use stdlib's `repeat` instead. - [#5774](https://togithub.com/detekt/detekt/pull/5774)
- Remove redundant build config - [#5617](https://togithub.com/detekt/detekt/pull/5617)
- Migrate to AGP namespaces - [#5569](https://togithub.com/detekt/detekt/pull/5569)
- Fix typo - [#5557](https://togithub.com/detekt/detekt/pull/5557)
##### Contributors
We would like to thank the following contributors that made this release possible: [@3flex](https://togithub.com/3flex), [@BeBAKE](https://togithub.com/BeBAKE), [@BraisGabin](https://togithub.com/BraisGabin), [@Goooler](https://togithub.com/Goooler), [@SaumyaBhushan](https://togithub.com/SaumyaBhushan), [@TWiStErRob](https://togithub.com/TWiStErRob), [@VitalyVPinchuk](https://togithub.com/VitalyVPinchuk), [@adef145](https://togithub.com/adef145), [@asomov](https://togithub.com/asomov), [@atulgpt](https://togithub.com/atulgpt), [@chao2zhang](https://togithub.com/chao2zhang), [@cketti](https://togithub.com/cketti), [@cortinico](https://togithub.com/cortinico), [@drawers](https://togithub.com/drawers), [@dzirbel](https://togithub.com/dzirbel), [@igorwojda](https://togithub.com/igorwojda), [@lexa-diky](https://togithub.com/lexa-diky), [@luanpotter](https://togithub.com/luanpotter), [@marschwar](https://togithub.com/marschwar), [@mjovanc](https://togithub.com/mjovanc), [@mmorozkov](https://togithub.com/mmorozkov), [@ncteisen](https://togithub.com/ncteisen), [@osipxd](https://togithub.com/osipxd), [@ov7a](https://togithub.com/ov7a), [@schalkms](https://togithub.com/schalkms), [@t-kameyama](https://togithub.com/t-kameyama), [@tresni](https://togithub.com/tresni)
See all issues at: [1.23.0](https://togithub.com/detekt/detekt/milestone/88)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.22.0
->1.23.0
Release Notes
detekt/detekt
### [`v1.23.0`](https://togithub.com/detekt/detekt/releases/tag/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](https://detekt.dev/docs/gettingstarted/compilerplugin). This release also marks the beginning of development of 2.x from the main branch! [You can follow the progress here](https://togithub.com/detekt/detekt/discussions/6035) We want to take the opportunity to thank [our Sponsors](https://togithub.com/sponsors/detekt) 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](https://kotlinlang.slack.com/archives/C88E12QH4) channel on KotlinLang's Slack (you can [get an invite here](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up)). ##### Notable Changes - This is the first version of Detekt that ships with the `detekt-compiler-plugin`. The [Detekt Compiler plugin](https://detekt.dev/docs/gettingstarted/compilerplugin) 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](https://detekt.dev/docs/gettingstarted/compilerplugin) - [#5492](https://togithub.com/detekt/detekt/pull/5492) - We added **25** new Rules to detekt - `BracesOnIfStatements` - [#5700](https://togithub.com/detekt/detekt/pull/5700) - `BracesOnWhenStatements` - [#5838](https://togithub.com/detekt/detekt/pull/5838) - `CastNullableToNonNullableType` - [#5653](https://togithub.com/detekt/detekt/pull/5653) - `DoubleNegativeLambda` - [#5937](https://togithub.com/detekt/detekt/pull/5937) - `ForbiddenAnnotation` - [#5515](https://togithub.com/detekt/detekt/pull/5515) - `PropertyUsedBeforeDeclaration` - [#6062](https://togithub.com/detekt/detekt/pull/6062) - `StringShouldBeRawString` - [#5705](https://togithub.com/detekt/detekt/pull/5705) - `SuspendFunSwallowedCancellation` - [#5666](https://togithub.com/detekt/detekt/pull/5666) - `UnusedParameter` - [#5722](https://togithub.com/detekt/detekt/pull/5722) - `UnusedPrivateProperty` - [#5722](https://togithub.com/detekt/detekt/pull/5722) - `UseLet` - [#6091](https://togithub.com/detekt/detekt/pull/6091) - `UnnecessaryBracesAroundTrailingLambda` - [#6029](https://togithub.com/detekt/detekt/pull/6029) - Plus the bump to KtLint 0.49.1 added the following rules to the `detekt-formatting` ruleset: - `ClassName` - [#6037](https://togithub.com/detekt/detekt/pull/6037) - `EnumWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `FunctionName` - [#6037](https://togithub.com/detekt/detekt/pull/6037) - `IfElseBracing` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `IfElseWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `MultilineExpressionWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `NoBlankLineInList` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `NoConsecutiveComments` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `NoEmptyFirstLineInClassBody` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `NoSingleLineBlockCommentRule` - [#6104](https://togithub.com/detekt/detekt/pull/6104) - `ParameterWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `PropertyName` - [#6037](https://togithub.com/detekt/detekt/pull/6037) - `PropertyWrapping` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `StringTemplateIndent` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - `TryCatchFinallySpacing` - [#6028](https://togithub.com/detekt/detekt/pull/6028) - Notable changes to existing rules: - `UnnecessaryAbstractClass` now only runs with type resolution - [#5829](https://togithub.com/detekt/detekt/pull/5829) - `UnusedPrivateMember` has been refactored with some of its logic moved to `UnusedParameter` and `UnusedPrivateProperty` - [#5722](https://togithub.com/detekt/detekt/pull/5722) - Removed the `ignoreOverridden` config from `BooleanPropertyNaming`, `ConstructorParameterNaming`, `FunctionNaming`, `VariableNaming` and `FunctionParameterNaming` as not useful for those rules - [#5718](https://togithub.com/detekt/detekt/pull/5718) - Added `ignoredSubjectTypes` to rule `ElseCaseInsteadOfExhaustiveWhen` to specify types that should be ignored by the rule ([#5623](https://togithub.com/detekt/detekt/issues/5623)) - [#5634](https://togithub.com/detekt/detekt/pull/5634) - Added `allowOperators` to rule `DataClassContainsFunctions` - [#5658](https://togithub.com/detekt/detekt/pull/5658) - `MandatoryBracesIfStatements` has been removed in favor of `BracesOnIfStatements` - [#5700](https://togithub.com/detekt/detekt/pull/5700) - Added `ignoreWhenContainingVariableDeclaration` to `UseIfInsteadOfWhen` to ignore captured variables - [#5681](https://togithub.com/detekt/detekt/pull/5681) - Several rules in the `detekt-formatting` ruleset now accepts an `indentSize` parameter (see the [full list here](https://togithub.com/detekt/detekt/pull/6028/files#diff-2486d56e6f1bbfcb160b923d15266691f5776948cf5bb31c8fc102bd3cf9513d)). - We followed the KtLint decisions on turning on some rules by default, so several rules in the `detekt-formatting` ruleset are now turned on by default (see the [full list here](https://togithub.com/detekt/detekt/pull/6028/files#diff-2486d56e6f1bbfcb160b923d15266691f5776948cf5bb31c8fc102bd3cf9513d)). - We added support for Gradle's Worker API inside Detekt Gradle Plugin, for faster execution on bigger projects. - [#4128](https://togithub.com/detekt/detekt/pull/4128) - We fixed the `includes`/`excludes` logic on the config file as they were overriding each other - [#5782](https://togithub.com/detekt/detekt/pull/5782) - We fully removed support for Spek from `detekt-test-utils`. The recommended testing framework is JUnit - [#5785](https://togithub.com/detekt/detekt/pull/5785) - The minimum supported Gradle version is now `v6.8.3` - [#5616](https://togithub.com/detekt/detekt/pull/5616) - This version of detekt is built with Gradle `v8.1`, AGP `8.0.1`, Kotlin `1.8.21` and KtLint `0.49.1` (see [#5893](https://togithub.com/detekt/detekt/pull/5893) [#5723](https://togithub.com/detekt/detekt/pull/5723) [#5877](https://togithub.com/detekt/detekt/pull/5877) [#6028](https://togithub.com/detekt/detekt/pull/6028) [#6043](https://togithub.com/detekt/detekt/pull/6043) [#5995](https://togithub.com/detekt/detekt/pull/5995) [#5996](https://togithub.com/detekt/detekt/pull/5996)) - We now added a [Code of Conduct](https://togithub.com/detekt/detekt/blob/main/.github/CODE_OF_CONDUCT.md) to our repo. Please read it and follow it when interacting with our community on our channels. ##### Changelog - SerialVersionUIDInSerializableClass - Update the error location - [#6114](https://togithub.com/detekt/detekt/pull/6114) - Reduce LoopWithTooManyJumpStatements finding scope - [#6110](https://togithub.com/detekt/detekt/pull/6110) - Add alias for SuspendFunWithCoroutineScopeReceiver - [#6089](https://togithub.com/detekt/detekt/pull/6089) - CastNullableToNonNullableType - Check the SimpleType instead of typeElement - [#6071](https://togithub.com/detekt/detekt/pull/6071) - Update plugin com.gradle.enterprise to v3.13.1 - [#6069](https://togithub.com/detekt/detekt/pull/6069) - CanBeNonNullable: Check parent condition for checking if nullability info is used or not - [#6064](https://togithub.com/detekt/detekt/pull/6064) - Add configuration to add alternate trimming methods - [#6063](https://togithub.com/detekt/detekt/pull/6063) - Check if property is documented at class header - [#6061](https://togithub.com/detekt/detekt/pull/6061) - OutdatedDocumentation - Check if only public property is documented - [#6057](https://togithub.com/detekt/detekt/pull/6057) - UnnecessaryLet: fix false positive in call chains - [#6052](https://togithub.com/detekt/detekt/pull/6052) - Add `comments` with a list of regexes to `ForbiddenComment` - [#5981](https://togithub.com/detekt/detekt/pull/5981) - Fix incomplete `requireRootInDeclaration` check in `InvalidPackageDeclaration` - [#6045](https://togithub.com/detekt/detekt/pull/6045) - BracesOnWhenStatements: fix false positive for necessary braces - [#6042](https://togithub.com/detekt/detekt/pull/6042) - Fix redundant ClassOrdering violations using maximum increasing section - [#6003](https://togithub.com/detekt/detekt/pull/6003) - UseIsNullOrEmpty: fix false negative with chained call - [#6027](https://togithub.com/detekt/detekt/pull/6027) - Create docs for Gradle Worker API - [#6016](https://togithub.com/detekt/detekt/pull/6016) - Compile compiler plugin against kotlin-compiler-embeddable - [#6012](https://togithub.com/detekt/detekt/pull/6012) - Update intro.mdx to use setFrom() on detekt config - [#6010](https://togithub.com/detekt/detekt/pull/6010) - Use `detekt-versions.properties` instead of `versions.properties` - [#6006](https://togithub.com/detekt/detekt/pull/6006) - Implement parentPath accessor in concrete config implementations - [#6002](https://togithub.com/detekt/detekt/pull/6002) - Increase ALIASES_LIMIT to 100 for YamlConfig - [#5986](https://togithub.com/detekt/detekt/pull/5986) - Fix elvis to +/- case in case UnnecessaryParentheses when precedence is unclear - [#5983](https://togithub.com/detekt/detekt/pull/5983) - jdkHome as [@Internal](https://togithub.com/Internal) - [#5978](https://togithub.com/detekt/detekt/pull/5978) - Fix broken POM file for detetk-compiler-plugin - [#5971](https://togithub.com/detekt/detekt/pull/5971) - Fix broken publishToMavenLocal - [#5970](https://togithub.com/detekt/detekt/pull/5970) - Add `allowOmitUnit` to rule `LibraryCodeMustSpecifyReturnType` - [#5861](https://togithub.com/detekt/detekt/pull/5861) - Remove dependency that creates a cycle. - [#5777](https://togithub.com/detekt/detekt/pull/5777) - Update dependency org.jetbrains:annotations to v24 - [#5969](https://togithub.com/detekt/detekt/pull/5969) - Update github/codeql-action digest to [`8c8d71d`](https://togithub.com/detekt/detekt/commit/8c8d71d) - [#5966](https://togithub.com/detekt/detekt/pull/5966) - Add functions to ExitOutsideMain rule - [#5963](https://togithub.com/detekt/detekt/pull/5963) - Update README.md - [#5954](https://togithub.com/detekt/detekt/pull/5954) - Prevent import statements from counting as references for UnusedPrivateProperty - [#5942](https://togithub.com/detekt/detekt/pull/5942) - Fix ExpressionBodySyntax not checking property getters/setters - [#5938](https://togithub.com/detekt/detekt/pull/5938) - Improve correctness of UnusedPrivateProperty - [#5935](https://togithub.com/detekt/detekt/pull/5935) - Fix documentation for deprecated 'reports' object (Issue [#5908](https://togithub.com/detekt/detekt/issues/5908)) - [#5924](https://togithub.com/detekt/detekt/pull/5924) - Print file path report as link file - [#5921](https://togithub.com/detekt/detekt/pull/5921) - "detekt" or "Detekt" - [#5898](https://togithub.com/detekt/detekt/issues/5898) - Update JSON schema URL - [#5881](https://togithub.com/detekt/detekt/pull/5881) - Add support for local suppression inside formatting - [#5876](https://togithub.com/detekt/detekt/pull/5876) - Fix checkExhaustiveness for formatting and third party rules - [#5869](https://togithub.com/detekt/detekt/pull/5869) - Allow newline style for MaxChainedCallsOnSameLine - [#5865](https://togithub.com/detekt/detekt/pull/5865) - Declare inputs and outputs to support incremental build for testPluginKotlinc - [#5862](https://togithub.com/detekt/detekt/pull/5862) - Use code syntax for `Unit` for ImplicitUnitReturnType rule - [#5857](https://togithub.com/detekt/detekt/pull/5857) - MatchingDeclarationName. KtFilesSpec also remove .common.kt suffix from kotlin files - [#5851](https://togithub.com/detekt/detekt/pull/5851) - Fix double mutability issues with Gradle plugin's use of ConfigurableFileCollection - [#5850](https://togithub.com/detekt/detekt/pull/5850) - MagicNumber - Make ignoreNamedArgument catch more complex expression - [#5837](https://togithub.com/detekt/detekt/pull/5837) - Exclude super call when generating guard clauses - [#5835](https://togithub.com/detekt/detekt/pull/5835) - Enable test retry for all our modules - [#5825](https://togithub.com/detekt/detekt/pull/5825) - Stop configuring report merge tasks while configuring Detekt tasks - [#5813](https://togithub.com/detekt/detekt/pull/5813) - FunctionMatcher support for fully qualified function names - [#5812](https://togithub.com/detekt/detekt/pull/5812) - Boy Scout - [#5808](https://togithub.com/detekt/detekt/pull/5808) - Simplify `TestConfig` usages - [#5801](https://togithub.com/detekt/detekt/pull/5801) - Reduce configuration of UnusedPrivateMember's split rules - [#5800](https://togithub.com/detekt/detekt/pull/5800) - Force SerialVerionUID to be private - [#5798](https://togithub.com/detekt/detekt/pull/5798) - Exclude the KMP test folders for android - [#5797](https://togithub.com/detekt/detekt/pull/5797) - Add aliases for PackageNaming and InvalidPackageDeclaration - [#5795](https://togithub.com/detekt/detekt/pull/5795) - Forbid using Jupiter Kotlin assertions - [#5794](https://togithub.com/detekt/detekt/pull/5794) - ModifierOrder: fix false positive with block comments - [#5791](https://togithub.com/detekt/detekt/pull/5791) - Fixed ProtectedMemberInFinalClass rule reporting valid JVM finalize - [#5788](https://togithub.com/detekt/detekt/pull/5788) - Remove unnecessary usage of BeforeAll in tests - [#5781](https://togithub.com/detekt/detekt/pull/5781) - Run Kotlin compiler plugin CLI test as part of standard build - [#5766](https://togithub.com/detekt/detekt/pull/5766) - Refactor to remove java.util.Array\* imports - [#5761](https://togithub.com/detekt/detekt/pull/5761) - Replace java.util.Stack with Kotlin's ArrayDeque implementation - [#5760](https://togithub.com/detekt/detekt/pull/5760) - Replace java.time.Duration with kotlin.time.Duration - [#5759](https://togithub.com/detekt/detekt/pull/5759) - Add NixOS installation method to doc - [#5757](https://togithub.com/detekt/detekt/pull/5757) - Remove & forbid usage of java.util.stream - [#5756](https://togithub.com/detekt/detekt/pull/5756) - Use stdlib functions for file & path operations - [#5754](https://togithub.com/detekt/detekt/pull/5754) - Enable UnnecessaryBackticks in detekt project - [#5753](https://togithub.com/detekt/detekt/pull/5753) - Update docusaurus monorepo to v2.3.1 - [#5752](https://togithub.com/detekt/detekt/pull/5752) - Resolve runtime classpaths consistently with compile classpaths - [#5730](https://togithub.com/detekt/detekt/pull/5730) - Exclude new Kotlin Test directories in default config - [#5727](https://togithub.com/detekt/detekt/issues/5727) - Fail when unexpected version of kotlin-compiler-embeddable is on runtime classpath - [#5726](https://togithub.com/detekt/detekt/pull/5726) - Fix IgnoredReturnValue rule crash in parallel mode - [#5724](https://togithub.com/detekt/detekt/pull/5724) - Use `name` that return name after backticks - [#5719](https://togithub.com/detekt/detekt/pull/5719) - UnusedPrivateMember - Fix false positive in case of invoke operator - [#5717](https://togithub.com/detekt/detekt/pull/5717) - Fix false positive for `CanBeNonNullable` rule - [#5714](https://togithub.com/detekt/detekt/pull/5714) - IgnoredReturnValue: fix false negative when annotation is on the package - [#5706](https://togithub.com/detekt/detekt/pull/5706) - Check Thread.sleep for block expression - [#5699](https://togithub.com/detekt/detekt/pull/5699) - Fix false positive of in UnnecessaryParentheses - [#5684](https://togithub.com/detekt/detekt/pull/5684) - Fix url and kotlin reference support in kdoc - [#5683](https://togithub.com/detekt/detekt/pull/5683) - Add config for variable expression in when - [#5681](https://togithub.com/detekt/detekt/pull/5681) - Enable NoSemicolons rule - [#5663](https://togithub.com/detekt/detekt/pull/5663) - Use correct resolvable/consumable flags on detekt's configurations - [#5657](https://togithub.com/detekt/detekt/pull/5657) - Prepare for Gradle 8 - [#5656](https://togithub.com/detekt/detekt/pull/5656) - ExplicitCollectionElementAccessMethod rule update - [#5654](https://togithub.com/detekt/detekt/pull/5654) - Cast nullable to non nullable type - [#5653](https://togithub.com/detekt/detekt/pull/5653) - Enable verbose mode for Codecov GH Action - [#5652](https://togithub.com/detekt/detekt/pull/5652) - Fail build when issues found with JVM target compatibility of related compile tasks - [#5651](https://togithub.com/detekt/detekt/pull/5651) - Don't silently use Kotlin compiler fallback strategy - [#5650](https://togithub.com/detekt/detekt/pull/5650) - Documentation tweaks - [#5639](https://togithub.com/detekt/detekt/pull/5639) - Have consistent compile-test-snippets between project and system property - [#5630](https://togithub.com/detekt/detekt/pull/5630) - Exclude operator functions in function min/max length - [#5618](https://togithub.com/detekt/detekt/pull/5618) - Broken link at EmptyFunctionBlock - [#5604](https://togithub.com/detekt/detekt/pull/5604) - Update rule description for errorprone rules - [#5603](https://togithub.com/detekt/detekt/pull/5603) - FunctionMaxLength false positive for overridden methods [#5590](https://togithub.com/detekt/detekt/issues/5590) - [#5599](https://togithub.com/detekt/detekt/pull/5599) - Report proper code position in `MaxLineLength` - [#5583](https://togithub.com/detekt/detekt/pull/5583) - Allow access to nonpublic members of public types in java.base/java.lang package - [#5579](https://togithub.com/detekt/detekt/pull/5579) - NonBooleanPropertyPrefixedWithIs: Allow AtomicBoolean - [#5577](https://togithub.com/detekt/detekt/pull/5577) - Pass compilation output classes to detekt analysis classpath - [#5556](https://togithub.com/detekt/detekt/pull/5556) - Fix KDocReferencesNonPublicProperty false positive - [#5534](https://togithub.com/detekt/detekt/pull/5534) ##### Dependency Updates - Update dependency io.github.detekt.sarif4k:sarif4k to v0.4.0 - [#6113](https://togithub.com/detekt/detekt/pull/6113) - Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.1 - [#6097](https://togithub.com/detekt/detekt/pull/6097) - Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.7.0 - [#6074](https://togithub.com/detekt/detekt/pull/6074) - Update com.android.tools.build - [#6065](https://togithub.com/detekt/detekt/pull/6065) - Update JaCoCo to v0.8.10 - [#6044](https://togithub.com/detekt/detekt/pull/6044) - Update plugin pluginPublishing to v1.2.0 - [#5975](https://togithub.com/detekt/detekt/pull/5975) - Update ktlint to v0.48.1 - [#5661](https://togithub.com/detekt/detekt/pull/5661) - Update dependency com.android.tools.build:gradle to v7.4.0 - [#5693](https://togithub.com/detekt/detekt/pull/5693) - JaCoCo 0.8.9 - [#5959](https://togithub.com/detekt/detekt/pull/5959) - Update dependency com.github.tschuchortdev:kotlin-compile-testing to v1.5.0 - [#5882](https://togithub.com/detekt/detekt/pull/5882) - Update dependency org.jetbrains.dokka to v1.8.10 - [#5878](https://togithub.com/detekt/detekt/pull/5878) - Compile detekt-compiler-plugin against standard Kotlin compiler artifact - [#5765](https://togithub.com/detekt/detekt/pull/5765) - Migrate to SnakeYAML Engine - [#5751](https://togithub.com/detekt/detekt/pull/5751) - Update kotlin monorepo to v1.8.10 - [#5745](https://togithub.com/detekt/detekt/pull/5745) - Update ktlint to v0.48.0 - [#5625](https://togithub.com/detekt/detekt/pull/5625) - Migrate to Gradle Nexus Publish Plugin - [#5554](https://togithub.com/detekt/detekt/pull/5554) - Update dependency io.github.detekt.sarif4k:sarif4k to v0.2.0 - [#5496](https://togithub.com/detekt/detekt/pull/5496) ##### Housekeeping & Refactorings - Inline Cases enum and inline other external test code into the test classes - [#6107](https://togithub.com/detekt/detekt/pull/6107) - Update codecov/codecov-action digest to [`eaaf4be`](https://togithub.com/detekt/detekt/commit/eaaf4be) - [#6102](https://togithub.com/detekt/detekt/pull/6102) - Remove unnecessary baselines - [#6092](https://togithub.com/detekt/detekt/pull/6092) - Remove unused `dependenciesAsNames` - [#6059](https://togithub.com/detekt/detekt/pull/6059) - Reduce eager POM task creation - [#6041](https://togithub.com/detekt/detekt/pull/6041) - Improve our configuration of `ClassNaming` and `FunctionNaming` - [#6019](https://togithub.com/detekt/detekt/pull/6019) - Comment text in the Issue/PR Template - [#5992](https://togithub.com/detekt/detekt/pull/5992) - Fix typo: Github -> GitHub - [#5956](https://togithub.com/detekt/detekt/pull/5956) - Review all Detekt and Detekt Gradle Plugin usages. - [#5955](https://togithub.com/detekt/detekt/pull/5955) - Review all Detekt and Detekt Gradle Plugin usages. - [#5953](https://togithub.com/detekt/detekt/pull/5953) - Add a test for catching undocumented public interfaces - [#5951](https://togithub.com/detekt/detekt/pull/5951) - Execute tests in parallel - [#5944](https://togithub.com/detekt/detekt/pull/5944) - Make GeneratorSpec use resources - [#5932](https://togithub.com/detekt/detekt/pull/5932) - Cleanup detekt-formatting to use detekt's own assertThat function - [#5911](https://togithub.com/detekt/detekt/pull/5911) - Stale any issue with support tag in one month - [#5904](https://togithub.com/detekt/detekt/pull/5904) - Remove instances of double mutability - [#5899](https://togithub.com/detekt/detekt/pull/5899) - Handle todo in LinesOfCode logic - [#5897](https://togithub.com/detekt/detekt/pull/5897) - Boy scout - `detekt-generator` - [#5854](https://togithub.com/detekt/detekt/pull/5854) - Tweak GHA configs a bit - [#5852](https://togithub.com/detekt/detekt/pull/5852) - Create `generateWebsite` - [#5849](https://togithub.com/detekt/detekt/pull/5849) - Remove dependency between check and jacocoMergedReport - [#5846](https://togithub.com/detekt/detekt/pull/5846) - Sort deprecation properties - [#5845](https://togithub.com/detekt/detekt/pull/5845) - Simplify generate documentation - [#5844](https://togithub.com/detekt/detekt/pull/5844) - Remove unnecessary `@Suppress("ReturnCount")` - [#5841](https://togithub.com/detekt/detekt/pull/5841) - Cleaner merging of Gradle blocks for functionalTests - [#5830](https://togithub.com/detekt/detekt/pull/5830) - Replace trimMargin usages - [#5827](https://togithub.com/detekt/detekt/pull/5827) - Disable PTS from local and enable it for PRs - [#5826](https://togithub.com/detekt/detekt/pull/5826) - Activate MultilineRawStringIndentation on detekt - [#5819](https://togithub.com/detekt/detekt/pull/5819) - Remove single-use `times` method, use stdlib's `repeat` instead. - [#5774](https://togithub.com/detekt/detekt/pull/5774) - Remove redundant build config - [#5617](https://togithub.com/detekt/detekt/pull/5617) - Migrate to AGP namespaces - [#5569](https://togithub.com/detekt/detekt/pull/5569) - Fix typo - [#5557](https://togithub.com/detekt/detekt/pull/5557) ##### Contributors We would like to thank the following contributors that made this release possible: [@3flex](https://togithub.com/3flex), [@BeBAKE](https://togithub.com/BeBAKE), [@BraisGabin](https://togithub.com/BraisGabin), [@Goooler](https://togithub.com/Goooler), [@SaumyaBhushan](https://togithub.com/SaumyaBhushan), [@TWiStErRob](https://togithub.com/TWiStErRob), [@VitalyVPinchuk](https://togithub.com/VitalyVPinchuk), [@adef145](https://togithub.com/adef145), [@asomov](https://togithub.com/asomov), [@atulgpt](https://togithub.com/atulgpt), [@chao2zhang](https://togithub.com/chao2zhang), [@cketti](https://togithub.com/cketti), [@cortinico](https://togithub.com/cortinico), [@drawers](https://togithub.com/drawers), [@dzirbel](https://togithub.com/dzirbel), [@igorwojda](https://togithub.com/igorwojda), [@lexa-diky](https://togithub.com/lexa-diky), [@luanpotter](https://togithub.com/luanpotter), [@marschwar](https://togithub.com/marschwar), [@mjovanc](https://togithub.com/mjovanc), [@mmorozkov](https://togithub.com/mmorozkov), [@ncteisen](https://togithub.com/ncteisen), [@osipxd](https://togithub.com/osipxd), [@ov7a](https://togithub.com/ov7a), [@schalkms](https://togithub.com/schalkms), [@t-kameyama](https://togithub.com/t-kameyama), [@tresni](https://togithub.com/tresni) See all issues at: [1.23.0](https://togithub.com/detekt/detekt/milestone/88)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.