From 383d72bbf31af64dd34ace0c8c685b574172e794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brais=20Gab=C3=ADn?= Date: Sat, 25 Apr 2020 13:34:48 +0200 Subject: [PATCH] Fix a lot of links (#2638) * Fix lot of links * Update links from changelog * Fix more links --- .github/workflows/deploy-snapshot.yaml | 2 +- README.md | 6 +- buildSrc/src/main/kotlin/packaging.gradle.kts | 4 +- .../arturbosch/detekt/cli/out/HtmlUtils.kt | 2 +- detekt-gradle-plugin/build.gradle.kts | 2 +- .../io/gitlab/arturbosch/detekt/rules/Case.kt | 2 +- ...-03-03-configure-detekt-on-root-project.md | 2 +- docs/_posts/2019-08-04-calling-it-one-zero.md | 4 +- docs/index.md | 2 +- docs/pages/changelog 1.x.x.md | 1132 ++++----- docs/pages/changelog.md | 2230 ++++++++--------- scripts/get_analysis_projects.groovy | 4 +- 12 files changed, 1696 insertions(+), 1696 deletions(-) diff --git a/.github/workflows/deploy-snapshot.yaml b/.github/workflows/deploy-snapshot.yaml index 88a4917a8..ac3e60210 100644 --- a/.github/workflows/deploy-snapshot.yaml +++ b/.github/workflows/deploy-snapshot.yaml @@ -37,7 +37,7 @@ jobs: BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} run: ./gradlew artifactoryPublish -Dsnapshot=true --stacktrace - if: ${{ github.repository == 'arturbosch/detekt'}} + if: ${{ github.repository == 'detekt/detekt'}} # We stop gradle at the end to make sure the cache folders # don't contain any lock files and are free to be cached. diff --git a/README.md b/README.md index 6e35f8ee9..52f662616 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ [![Download](https://api.bintray.com/packages/arturbosch/code-analysis/detekt/images/download.svg) ](https://bintray.com/arturbosch/code-analysis/detekt/_latestVersion) [![gradle plugin](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/io/gitlab/arturbosch/detekt/io.gitlab.arturbosch.detekt.gradle.plugin/maven-metadata.xml.svg?label=Gradle&style=flat-square)](https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt) -![Pre Merge Checks](https://github.com/arturbosch/detekt/workflows/Pre%20Merge%20Checks/badge.svg?event=push) -[![codecov](https://codecov.io/gh/arturbosch/detekt/branch/master/graph/badge.svg)](https://codecov.io/gh/arturbosch/detekt) -[![CodeFactor](https://www.codefactor.io/repository/github/arturbosch/detekt/badge)](https://www.codefactor.io/repository/github/arturbosch/detekt) +![Pre Merge Checks](https://github.com/detekt/detekt/workflows/Pre%20Merge%20Checks/badge.svg?event=push) +[![codecov](https://codecov.io/gh/detekt/detekt/branch/master/graph/badge.svg)](https://codecov.io/gh/detekt/detekt) +[![CodeFactor](https://www.codefactor.io/repository/github/detekt/detekt/badge)](https://www.codefactor.io/repository/github/detekt/detekt) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Farturbosch%2Fdetekt-intellij-plugin.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Farturbosch%2Fdetekt?ref=badge_shield) [![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/KotlinBy/awesome-kotlin) diff --git a/buildSrc/src/main/kotlin/packaging.gradle.kts b/buildSrc/src/main/kotlin/packaging.gradle.kts index 8678b963d..352948854 100644 --- a/buildSrc/src/main/kotlin/packaging.gradle.kts +++ b/buildSrc/src/main/kotlin/packaging.gradle.kts @@ -38,7 +38,7 @@ subprojects { name = "detekt" userOrg = "arturbosch" setLicenses("Apache-2.0") - vcsUrl = "https://github.com/arturbosch/detekt" + vcsUrl = "https://github.com/detekt/detekt" version(delegateClosureOf { name = project.version as? String @@ -104,7 +104,7 @@ subprojects { } } scm { - url.set("https://github.com/arturbosch/detekt") + url.set("https://github.com/detekt/detekt") } } } diff --git a/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/out/HtmlUtils.kt b/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/out/HtmlUtils.kt index c6dd5ea4d..2bda75664 100644 --- a/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/out/HtmlUtils.kt +++ b/detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/out/HtmlUtils.kt @@ -95,7 +95,7 @@ private fun createReportUrl(ruleName: String, throwable: Throwable): String { |""".trimMargin() val body = URLEncoder.encode(bodyMessage, "UTF8") - return "https://github.com/arturbosch/detekt/issues/new?body=$body&title=$title" + return "https://github.com/detekt/detekt/issues/new?body=$body&title=$title" } private fun Throwable.printStackTraceString(): String { diff --git a/detekt-gradle-plugin/build.gradle.kts b/detekt-gradle-plugin/build.gradle.kts index 580285fea..3cbd0640b 100644 --- a/detekt-gradle-plugin/build.gradle.kts +++ b/detekt-gradle-plugin/build.gradle.kts @@ -25,7 +25,7 @@ tasks.validatePlugins { pluginBundle { website = "https://arturbosch.github.io/detekt" - vcsUrl = "https://github.com/arturbosch/detekt" + vcsUrl = "https://github.com/detekt/detekt" description = "Static code analysis for Kotlin" tags = listOf("kotlin", "detekt", "code-analysis", "linter", "codesmells") diff --git a/detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/Case.kt b/detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/Case.kt index 840d275d0..5b8a22c0b 100644 --- a/detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/Case.kt +++ b/detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/Case.kt @@ -5,7 +5,7 @@ import java.nio.file.Path import java.nio.file.Paths /* Do not add new elements to this file. Instead, use inline code snippets within the tests. - See https://github.com/arturbosch/detekt/issues/1089 */ + See https://github.com/detekt/detekt/issues/1089 */ enum class Case(val file: String) { CollapsibleIfsPositive("/cases/CollapsibleIfsPositive.kt"), CollapsibleIfsNegative("/cases/CollapsibleIfsNegative.kt"), diff --git a/docs/_posts/2019-03-03-configure-detekt-on-root-project.md b/docs/_posts/2019-03-03-configure-detekt-on-root-project.md index c0c37241e..2577d480c 100644 --- a/docs/_posts/2019-03-03-configure-detekt-on-root-project.md +++ b/docs/_posts/2019-03-03-configure-detekt-on-root-project.md @@ -10,7 +10,7 @@ When configuring _detekt_ for your _Gradle_ based project, you basically have tw - for each sub module a new gradle task should be created - or one __uber__-task analyzes your whole project -For the first option, please see how [detekt](https://github.com/arturbosch/detekt) itself creates a task for each module: +For the first option, please see how [detekt](https://github.com/detekt/detekt) itself creates a task for each module: ```gradle subprojecs { ... diff --git a/docs/_posts/2019-08-04-calling-it-one-zero.md b/docs/_posts/2019-08-04-calling-it-one-zero.md index 0b34e2602..af6e208ef 100644 --- a/docs/_posts/2019-08-04-calling-it-one-zero.md +++ b/docs/_posts/2019-08-04-calling-it-one-zero.md @@ -24,7 +24,7 @@ programming flaws like unused or too complex constructs. Think of it as *pmd* or - Gradle tasks to use local `IntelliJ` distribution for formatting and inspecting Kotlin code - [SonarQube integration](https://github.com/arturbosch/sonar-kotlin) - Extensibility by enabling incorporation of personal rule sets, `FileProcessListener's` and `OutputReport's` -- [IntelliJ integration](https://github.com/arturbosch/detekt-intellij-plugin) +- [IntelliJ integration](https://github.com/detekt/detekt-intellij-plugin) - Unofficial [Maven plugin](https://github.com/Ozsie/detekt-maven-plugin) by [Ozsie](https://github.com/Ozsie)
@@ -74,4 +74,4 @@ Last but not least here is a worldmap of where detekt users are coming from. References: - https://bintray.com/arturbosch/code-analysis/detekt#statistics -- https://github.com/arturbosch/detekt/graphs/contributors +- https://github.com/detekt/detekt/graphs/contributors diff --git a/docs/index.md b/docs/index.md index 007bd77ea..d3c05b36b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,7 +21,7 @@ summary: - Optionally configure detekt for each sub module by using [profiles](#closure) (gradle-plugin) - [SonarQube integration](https://github.com/arturbosch/sonar-kotlin) - Extensible by own rule sets and `FileProcessListener's` -- [IntelliJ integration](https://github.com/arturbosch/detekt-intellij-plugin) +- [IntelliJ integration](https://github.com/detekt/detekt-intellij-plugin) - Unofficial [Maven plugin](https://github.com/Ozsie/detekt-maven-plugin) by [Ozsie](https://github.com/Ozsie) ### Quick Start with Gradle diff --git a/docs/pages/changelog 1.x.x.md b/docs/pages/changelog 1.x.x.md index f6bcab458..dba339fae 100644 --- a/docs/pages/changelog 1.x.x.md +++ b/docs/pages/changelog 1.x.x.md @@ -21,46 +21,46 @@ toc: true ##### Changelog -- Use yaml lists in our own configuration and tests - [#2623](https://github.com/arturbosch/detekt/pull/2623) -- Run code coverage as an own action - [#2622](https://github.com/arturbosch/detekt/pull/2622) -- Modularize build script by introducing buildSrc module - [#2621](https://github.com/arturbosch/detekt/pull/2621) -- *>excludes allow yaml list - [#2620](https://github.com/arturbosch/detekt/pull/2620) -- Kotlin to 1.3.72 - [#2619](https://github.com/arturbosch/detekt/pull/2619) -- Set failfast to false for pre-merge - [#2618](https://github.com/arturbosch/detekt/pull/2618) -- Update documentation - [#2617](https://github.com/arturbosch/detekt/pull/2617) -- ThrowingExceptionsWithoutMessageOrCause>exceptions allow yaml list - [#2616](https://github.com/arturbosch/detekt/pull/2616) -- SwallowedException>ignoredExceptionTypes allow yaml list - [#2615](https://github.com/arturbosch/detekt/pull/2615) -- ForbiddenPublicDataClass>ignorePackages allow yaml list - [#2614](https://github.com/arturbosch/detekt/pull/2614) -- LabeledExpression>ignoredLabels allow yaml list - [#2613](https://github.com/arturbosch/detekt/pull/2613) -- ForbiddenMethodCall>methods allow yaml list - [#2612](https://github.com/arturbosch/detekt/pull/2612) -- Generate the cli as a stand alone executable - [#2607](https://github.com/arturbosch/detekt/pull/2607) -- Report class and object violations at the identifier - [#2606](https://github.com/arturbosch/detekt/pull/2606) -- Fix formatting line reporting - [#2604](https://github.com/arturbosch/detekt/pull/2604) -- Correct documentation/recommendation of EmptyCatchBlock rule - [#2603](https://github.com/arturbosch/detekt/pull/2603) -- Incorrect (or unclear) EmptyCatchBlock rule - [#2602](https://github.com/arturbosch/detekt/issues/2602) -- Use more lintAndCompile - [#2601](https://github.com/arturbosch/detekt/pull/2601) -- MagicNumber>ignoredNumbers allow yaml list - [#2600](https://github.com/arturbosch/detekt/pull/2600) -- Remove unnecesary symbolic link - [#2598](https://github.com/arturbosch/detekt/pull/2598) -- WildcardImport>excludeImports allow yaml list - [#2596](https://github.com/arturbosch/detekt/pull/2596) -- ForbiddenClassName>forbiddenName allow yaml list - [#2595](https://github.com/arturbosch/detekt/pull/2595) -- Fix false positives in UndocumentedPublicProperty - [#2591](https://github.com/arturbosch/detekt/pull/2591) -- Fix false positive in UndocumentedPublicClass - [#2588](https://github.com/arturbosch/detekt/pull/2588) -- *>*Annotated* allow yaml lists - [#2587](https://github.com/arturbosch/detekt/pull/2587) -- ForbiddenComment>values allow yaml list - [#2585](https://github.com/arturbosch/detekt/pull/2585) -- ExceptionRaisedInUnexpectedLocation>methodNames allow yaml list - [#2584](https://github.com/arturbosch/detekt/pull/2584) -- ComplexMethod>nestingFunctions allow yaml list - [#2583](https://github.com/arturbosch/detekt/pull/2583) -- UndocumentedPublicClass false positive for inner types - [#2580](https://github.com/arturbosch/detekt/issues/2580) -- New Rule: UnnecessaryNotNullOperator - [#2578](https://github.com/arturbosch/detekt/pull/2578) -- New Rule: UnnecessarySafeCall - [#2574](https://github.com/arturbosch/detekt/pull/2574) -- New Rule: UnnecessarySafeCall - [#2572](https://github.com/arturbosch/detekt/issues/2572) -- Add ignoreAnnotated option to LongParameterList - [#2570](https://github.com/arturbosch/detekt/pull/2570) -- Rule configuration request: Ignore based on annotations - [#2563](https://github.com/arturbosch/detekt/issues/2563) -- codecov test coverage report doesn't work correctly - [#2558](https://github.com/arturbosch/detekt/issues/2558) -- Support yaml lists in the configuration values - [#2498](https://github.com/arturbosch/detekt/issues/2498) -- Baseline ignoring MaxLineLength: on 1.0.1 - [#1906](https://github.com/arturbosch/detekt/issues/1906) -- Formatting rules are reported at wrong line (e.g. MaximumLineLength) - [#1843](https://github.com/arturbosch/detekt/issues/1843) +- Use yaml lists in our own configuration and tests - [#2623](https://github.com/detekt/detekt/pull/2623) +- Run code coverage as an own action - [#2622](https://github.com/detekt/detekt/pull/2622) +- Modularize build script by introducing buildSrc module - [#2621](https://github.com/detekt/detekt/pull/2621) +- *>excludes allow yaml list - [#2620](https://github.com/detekt/detekt/pull/2620) +- Kotlin to 1.3.72 - [#2619](https://github.com/detekt/detekt/pull/2619) +- Set failfast to false for pre-merge - [#2618](https://github.com/detekt/detekt/pull/2618) +- Update documentation - [#2617](https://github.com/detekt/detekt/pull/2617) +- ThrowingExceptionsWithoutMessageOrCause>exceptions allow yaml list - [#2616](https://github.com/detekt/detekt/pull/2616) +- SwallowedException>ignoredExceptionTypes allow yaml list - [#2615](https://github.com/detekt/detekt/pull/2615) +- ForbiddenPublicDataClass>ignorePackages allow yaml list - [#2614](https://github.com/detekt/detekt/pull/2614) +- LabeledExpression>ignoredLabels allow yaml list - [#2613](https://github.com/detekt/detekt/pull/2613) +- ForbiddenMethodCall>methods allow yaml list - [#2612](https://github.com/detekt/detekt/pull/2612) +- Generate the cli as a stand alone executable - [#2607](https://github.com/detekt/detekt/pull/2607) +- Report class and object violations at the identifier - [#2606](https://github.com/detekt/detekt/pull/2606) +- Fix formatting line reporting - [#2604](https://github.com/detekt/detekt/pull/2604) +- Correct documentation/recommendation of EmptyCatchBlock rule - [#2603](https://github.com/detekt/detekt/pull/2603) +- Incorrect (or unclear) EmptyCatchBlock rule - [#2602](https://github.com/detekt/detekt/issues/2602) +- Use more lintAndCompile - [#2601](https://github.com/detekt/detekt/pull/2601) +- MagicNumber>ignoredNumbers allow yaml list - [#2600](https://github.com/detekt/detekt/pull/2600) +- Remove unnecesary symbolic link - [#2598](https://github.com/detekt/detekt/pull/2598) +- WildcardImport>excludeImports allow yaml list - [#2596](https://github.com/detekt/detekt/pull/2596) +- ForbiddenClassName>forbiddenName allow yaml list - [#2595](https://github.com/detekt/detekt/pull/2595) +- Fix false positives in UndocumentedPublicProperty - [#2591](https://github.com/detekt/detekt/pull/2591) +- Fix false positive in UndocumentedPublicClass - [#2588](https://github.com/detekt/detekt/pull/2588) +- *>*Annotated* allow yaml lists - [#2587](https://github.com/detekt/detekt/pull/2587) +- ForbiddenComment>values allow yaml list - [#2585](https://github.com/detekt/detekt/pull/2585) +- ExceptionRaisedInUnexpectedLocation>methodNames allow yaml list - [#2584](https://github.com/detekt/detekt/pull/2584) +- ComplexMethod>nestingFunctions allow yaml list - [#2583](https://github.com/detekt/detekt/pull/2583) +- UndocumentedPublicClass false positive for inner types - [#2580](https://github.com/detekt/detekt/issues/2580) +- New Rule: UnnecessaryNotNullOperator - [#2578](https://github.com/detekt/detekt/pull/2578) +- New Rule: UnnecessarySafeCall - [#2574](https://github.com/detekt/detekt/pull/2574) +- New Rule: UnnecessarySafeCall - [#2572](https://github.com/detekt/detekt/issues/2572) +- Add ignoreAnnotated option to LongParameterList - [#2570](https://github.com/detekt/detekt/pull/2570) +- Rule configuration request: Ignore based on annotations - [#2563](https://github.com/detekt/detekt/issues/2563) +- codecov test coverage report doesn't work correctly - [#2558](https://github.com/detekt/detekt/issues/2558) +- Support yaml lists in the configuration values - [#2498](https://github.com/detekt/detekt/issues/2498) +- Baseline ignoring MaxLineLength: on 1.0.1 - [#1906](https://github.com/detekt/detekt/issues/1906) +- Formatting rules are reported at wrong line (e.g. MaximumLineLength) - [#1843](https://github.com/detekt/detekt/issues/1843) -See all issues at: [1.8.0](https://github.com/arturbosch/detekt/milestone/63) +See all issues at: [1.8.0](https://github.com/detekt/detekt/milestone/63) #### 1.7.4 @@ -77,102 +77,102 @@ detekt { ##### Changelog -- Revert warning: jcenter is missing (#2550) - [#2576](https://github.com/arturbosch/detekt/pull/2576) -- Add additional task input for plugin version task - [#2575](https://github.com/arturbosch/detekt/pull/2575) -- jcenter() requirement - [#2571](https://github.com/arturbosch/detekt/issues/2571) +- Revert warning: jcenter is missing (#2550) - [#2576](https://github.com/detekt/detekt/pull/2576) +- Add additional task input for plugin version task - [#2575](https://github.com/detekt/detekt/pull/2575) +- jcenter() requirement - [#2571](https://github.com/detekt/detekt/issues/2571) -See all issues at: [1.7.4](https://github.com/arturbosch/detekt/milestone/64) +See all issues at: [1.7.4](https://github.com/detekt/detekt/milestone/64) #### 1.7.3 ##### Changelog -- OptionalWhenBraces: fix false positive with lambda which has no arrow - [#2568](https://github.com/arturbosch/detekt/pull/2568) -- OptionalWhenBraces: false positive with lambda which has no arrow - [#2567](https://github.com/arturbosch/detekt/issues/2567) -- valueOrDefaultCommaSeparated throws a ClassCastException - [#2566](https://github.com/arturbosch/detekt/pull/2566) -- 1.6.0 -> 1.7.2: java.lang.String cannot be cast to java.util.List - [#2561](https://github.com/arturbosch/detekt/issues/2561) -- Display actual and threshold values for several metric rules - [#2559](https://github.com/arturbosch/detekt/pull/2559) -- Return the actual values for complexity rules - [#2557](https://github.com/arturbosch/detekt/issues/2557) -- UseCheckOrError/UseRequire: fix false positive with a non-String argument - [#2556](https://github.com/arturbosch/detekt/pull/2556) -- InstanceOfCheckForException: do not report when catch blocks do not check for the subtype of an exception - [#2555](https://github.com/arturbosch/detekt/pull/2555) -- Include statistics for our custom detekt tasks - [#2554](https://github.com/arturbosch/detekt/pull/2554) -- Remove unnecesary parentheses - [#2553](https://github.com/arturbosch/detekt/pull/2553) -- Fix console output indentation - [#2552](https://github.com/arturbosch/detekt/pull/2552) -- Console output is not indented correctly - [#2551](https://github.com/arturbosch/detekt/issues/2551) -- Check jcenter repository present in Gradle plugin - [#2550](https://github.com/arturbosch/detekt/pull/2550) -- Adding Detekt to a project from scratch, detektGenerateConfig is broken - [#2549](https://github.com/arturbosch/detekt/issues/2549) -- Validate Wrapper only on push to master - [#2548](https://github.com/arturbosch/detekt/pull/2548) -- Cleanup Gradle Folders - [#2547](https://github.com/arturbosch/detekt/pull/2547) -- Require CI to pass to run codecov - [#2546](https://github.com/arturbosch/detekt/pull/2546) -- Export bintray key to publish snapshots - [#2544](https://github.com/arturbosch/detekt/pull/2544) -- Activate UseErrorOrCheck rule - [#2542](https://github.com/arturbosch/detekt/pull/2542) -- Refactor build file to sections - [#2541](https://github.com/arturbosch/detekt/pull/2541) -- False positive: UseCheckOrError - [#2514](https://github.com/arturbosch/detekt/issues/2514) -- InstanceOfCheckForException should be ignored for catch blocks that is more than an if expression - [#1927](https://github.com/arturbosch/detekt/issues/1927) +- OptionalWhenBraces: fix false positive with lambda which has no arrow - [#2568](https://github.com/detekt/detekt/pull/2568) +- OptionalWhenBraces: false positive with lambda which has no arrow - [#2567](https://github.com/detekt/detekt/issues/2567) +- valueOrDefaultCommaSeparated throws a ClassCastException - [#2566](https://github.com/detekt/detekt/pull/2566) +- 1.6.0 -> 1.7.2: java.lang.String cannot be cast to java.util.List - [#2561](https://github.com/detekt/detekt/issues/2561) +- Display actual and threshold values for several metric rules - [#2559](https://github.com/detekt/detekt/pull/2559) +- Return the actual values for complexity rules - [#2557](https://github.com/detekt/detekt/issues/2557) +- UseCheckOrError/UseRequire: fix false positive with a non-String argument - [#2556](https://github.com/detekt/detekt/pull/2556) +- InstanceOfCheckForException: do not report when catch blocks do not check for the subtype of an exception - [#2555](https://github.com/detekt/detekt/pull/2555) +- Include statistics for our custom detekt tasks - [#2554](https://github.com/detekt/detekt/pull/2554) +- Remove unnecesary parentheses - [#2553](https://github.com/detekt/detekt/pull/2553) +- Fix console output indentation - [#2552](https://github.com/detekt/detekt/pull/2552) +- Console output is not indented correctly - [#2551](https://github.com/detekt/detekt/issues/2551) +- Check jcenter repository present in Gradle plugin - [#2550](https://github.com/detekt/detekt/pull/2550) +- Adding Detekt to a project from scratch, detektGenerateConfig is broken - [#2549](https://github.com/detekt/detekt/issues/2549) +- Validate Wrapper only on push to master - [#2548](https://github.com/detekt/detekt/pull/2548) +- Cleanup Gradle Folders - [#2547](https://github.com/detekt/detekt/pull/2547) +- Require CI to pass to run codecov - [#2546](https://github.com/detekt/detekt/pull/2546) +- Export bintray key to publish snapshots - [#2544](https://github.com/detekt/detekt/pull/2544) +- Activate UseErrorOrCheck rule - [#2542](https://github.com/detekt/detekt/pull/2542) +- Refactor build file to sections - [#2541](https://github.com/detekt/detekt/pull/2541) +- False positive: UseCheckOrError - [#2514](https://github.com/detekt/detekt/issues/2514) +- InstanceOfCheckForException should be ignored for catch blocks that is more than an if expression - [#1927](https://github.com/detekt/detekt/issues/1927) -See all issues at: [1.7.3](https://github.com/arturbosch/detekt/milestone/62) +See all issues at: [1.7.3](https://github.com/detekt/detekt/milestone/62) #### 1.7.2 ##### Changelog -- Remove ignore:AppVeyor from codecov config - [#2540](https://github.com/arturbosch/detekt/pull/2540) -- Use kotlin-stdlib-jdk8 to reduce dependency conflicts - #2527 - [#2538](https://github.com/arturbosch/detekt/pull/2538) -- Update Gradle plugin-publish to 0.11.0 - [#2537](https://github.com/arturbosch/detekt/pull/2537) -- Delete created temp dir automatically on JVM exit - [#2536](https://github.com/arturbosch/detekt/pull/2536) -- Delete created temp file automatically on JVM exit - [#2535](https://github.com/arturbosch/detekt/pull/2535) -- Refactor MemberNameEqualsClassNameSpec tests - [#2534](https://github.com/arturbosch/detekt/pull/2534) -- Fix UnnecessaryAbstractClass false-positive - [#2533](https://github.com/arturbosch/detekt/pull/2533) -- Update GroovyDSL doc to mention input - [#2532](https://github.com/arturbosch/detekt/pull/2532) -- Update KotlinDSL doc to mention input - [#2531](https://github.com/arturbosch/detekt/pull/2531) -- Fix report for documented data classes property - [#2530](https://github.com/arturbosch/detekt/pull/2530) -- UndocumentedPublicProperty reported for documented data classes property - [#2529](https://github.com/arturbosch/detekt/issues/2529) -- Detekt using gradle documentation out of data - [#2528](https://github.com/arturbosch/detekt/issues/2528) -- 1.7.1 does not depend on Kotlin 1.3.71 - [#2527](https://github.com/arturbosch/detekt/issues/2527) -- UnnecessaryAbstractClass false positive for abstractproperties - [#2526](https://github.com/arturbosch/detekt/issues/2526) -- Do not fail the build on config property warnings/deprecations - #2523 - [#2525](https://github.com/arturbosch/detekt/pull/2525) -- regression 1.7.1, threshhold does not exist - [#2523](https://github.com/arturbosch/detekt/issues/2523) -- Setup GitHub Actions - [#2512](https://github.com/arturbosch/detekt/pull/2512) +- Remove ignore:AppVeyor from codecov config - [#2540](https://github.com/detekt/detekt/pull/2540) +- Use kotlin-stdlib-jdk8 to reduce dependency conflicts - #2527 - [#2538](https://github.com/detekt/detekt/pull/2538) +- Update Gradle plugin-publish to 0.11.0 - [#2537](https://github.com/detekt/detekt/pull/2537) +- Delete created temp dir automatically on JVM exit - [#2536](https://github.com/detekt/detekt/pull/2536) +- Delete created temp file automatically on JVM exit - [#2535](https://github.com/detekt/detekt/pull/2535) +- Refactor MemberNameEqualsClassNameSpec tests - [#2534](https://github.com/detekt/detekt/pull/2534) +- Fix UnnecessaryAbstractClass false-positive - [#2533](https://github.com/detekt/detekt/pull/2533) +- Update GroovyDSL doc to mention input - [#2532](https://github.com/detekt/detekt/pull/2532) +- Update KotlinDSL doc to mention input - [#2531](https://github.com/detekt/detekt/pull/2531) +- Fix report for documented data classes property - [#2530](https://github.com/detekt/detekt/pull/2530) +- UndocumentedPublicProperty reported for documented data classes property - [#2529](https://github.com/detekt/detekt/issues/2529) +- Detekt using gradle documentation out of data - [#2528](https://github.com/detekt/detekt/issues/2528) +- 1.7.1 does not depend on Kotlin 1.3.71 - [#2527](https://github.com/detekt/detekt/issues/2527) +- UnnecessaryAbstractClass false positive for abstractproperties - [#2526](https://github.com/detekt/detekt/issues/2526) +- Do not fail the build on config property warnings/deprecations - #2523 - [#2525](https://github.com/detekt/detekt/pull/2525) +- regression 1.7.1, threshhold does not exist - [#2523](https://github.com/detekt/detekt/issues/2523) +- Setup GitHub Actions - [#2512](https://github.com/detekt/detekt/pull/2512) -See all issues at: [1.7.2](https://github.com/arturbosch/detekt/milestone/61) +See all issues at: [1.7.2](https://github.com/detekt/detekt/milestone/61) #### 1.7.1 ##### Changelog -- UnnecessaryAbstractClass: fix false positive when abstract class has abstract inherited members - [#2513](https://github.com/arturbosch/detekt/pull/2513) -- UnusedPrivateMember: report unused overloaded operators - [#2510](https://github.com/arturbosch/detekt/pull/2510) -- Fix build compile error resulted from merging two conflicting PRs - [#2508](https://github.com/arturbosch/detekt/pull/2508) -- Update Kotlin to 1.3.71 - [#2507](https://github.com/arturbosch/detekt/pull/2507) -- Remove duplicated test task setup for gradle plugin - [#2506](https://github.com/arturbosch/detekt/pull/2506) -- Add LicenceHeaderExtension test to verify resource path loading is supported - [#2505](https://github.com/arturbosch/detekt/pull/2505) -- Ensure filesystems are created so paths can be gotten - [#2504](https://github.com/arturbosch/detekt/pull/2504) -- FileSystemNotFoundException in detekt 1.7.0 when using --config-resource - [#2503](https://github.com/arturbosch/detekt/issues/2503) -- MemberNameEqualsClassName: fix false negative when function has no explicit return type - [#2502](https://github.com/arturbosch/detekt/pull/2502) -- Use the system-dependent line separator in NotificationReport - [#2497](https://github.com/arturbosch/detekt/pull/2497) -- Remove default print stream - [#2496](https://github.com/arturbosch/detekt/pull/2496) -- Don't use System.out in the ProgressListeners - [#2495](https://github.com/arturbosch/detekt/pull/2495) -- Make the gradle plugin a sub project again - [#2493](https://github.com/arturbosch/detekt/pull/2493) -- Move test factory outside the main code - [#2491](https://github.com/arturbosch/detekt/pull/2491) -- Single runner - [#2490](https://github.com/arturbosch/detekt/pull/2490) -- ProcessingSettings - [#2489](https://github.com/arturbosch/detekt/pull/2489) -- Don't use println :detekt-generator - [#2488](https://github.com/arturbosch/detekt/pull/2488) -- Simplify tests with StringPrintStream - [#2487](https://github.com/arturbosch/detekt/pull/2487) -- Improve tests - [#2486](https://github.com/arturbosch/detekt/pull/2486) -- Use PrinterStream in AstPrinter - [#2485](https://github.com/arturbosch/detekt/pull/2485) -- Errors running detekt in the detekt project - [#2484](https://github.com/arturbosch/detekt/issues/2484) -- Unify yml strings - [#2482](https://github.com/arturbosch/detekt/pull/2482) -- Use yml arrays to list the ForbiddenImports - [#2474](https://github.com/arturbosch/detekt/pull/2474) -- Add date, detekt-version + link to HtmlReport - [#2470](https://github.com/arturbosch/detekt/pull/2470) -- Refactor FindingsReport + FileBasedFindingsReport - [#2454](https://github.com/arturbosch/detekt/pull/2454) -- The Detekt HTML Report should include date, version number, website link (Feature Request) - [#2416](https://github.com/arturbosch/detekt/issues/2416) -- Added validation of constructors to LongParameterList - [#2410](https://github.com/arturbosch/detekt/pull/2410) -- UnusedPrivateMember doesn't report the correct warning count - [#1981](https://github.com/arturbosch/detekt/issues/1981) -- UnusedPrivateMember should consider overloaded operators - [#1444](https://github.com/arturbosch/detekt/issues/1444) -- False positive on rule UnnecessaryAbstractClass - [#727](https://github.com/arturbosch/detekt/issues/727) -- MemberNameEqualsClassName ignores functions which return a single expression - [#655](https://github.com/arturbosch/detekt/issues/655) +- UnnecessaryAbstractClass: fix false positive when abstract class has abstract inherited members - [#2513](https://github.com/detekt/detekt/pull/2513) +- UnusedPrivateMember: report unused overloaded operators - [#2510](https://github.com/detekt/detekt/pull/2510) +- Fix build compile error resulted from merging two conflicting PRs - [#2508](https://github.com/detekt/detekt/pull/2508) +- Update Kotlin to 1.3.71 - [#2507](https://github.com/detekt/detekt/pull/2507) +- Remove duplicated test task setup for gradle plugin - [#2506](https://github.com/detekt/detekt/pull/2506) +- Add LicenceHeaderExtension test to verify resource path loading is supported - [#2505](https://github.com/detekt/detekt/pull/2505) +- Ensure filesystems are created so paths can be gotten - [#2504](https://github.com/detekt/detekt/pull/2504) +- FileSystemNotFoundException in detekt 1.7.0 when using --config-resource - [#2503](https://github.com/detekt/detekt/issues/2503) +- MemberNameEqualsClassName: fix false negative when function has no explicit return type - [#2502](https://github.com/detekt/detekt/pull/2502) +- Use the system-dependent line separator in NotificationReport - [#2497](https://github.com/detekt/detekt/pull/2497) +- Remove default print stream - [#2496](https://github.com/detekt/detekt/pull/2496) +- Don't use System.out in the ProgressListeners - [#2495](https://github.com/detekt/detekt/pull/2495) +- Make the gradle plugin a sub project again - [#2493](https://github.com/detekt/detekt/pull/2493) +- Move test factory outside the main code - [#2491](https://github.com/detekt/detekt/pull/2491) +- Single runner - [#2490](https://github.com/detekt/detekt/pull/2490) +- ProcessingSettings - [#2489](https://github.com/detekt/detekt/pull/2489) +- Don't use println :detekt-generator - [#2488](https://github.com/detekt/detekt/pull/2488) +- Simplify tests with StringPrintStream - [#2487](https://github.com/detekt/detekt/pull/2487) +- Improve tests - [#2486](https://github.com/detekt/detekt/pull/2486) +- Use PrinterStream in AstPrinter - [#2485](https://github.com/detekt/detekt/pull/2485) +- Errors running detekt in the detekt project - [#2484](https://github.com/detekt/detekt/issues/2484) +- Unify yml strings - [#2482](https://github.com/detekt/detekt/pull/2482) +- Use yml arrays to list the ForbiddenImports - [#2474](https://github.com/detekt/detekt/pull/2474) +- Add date, detekt-version + link to HtmlReport - [#2470](https://github.com/detekt/detekt/pull/2470) +- Refactor FindingsReport + FileBasedFindingsReport - [#2454](https://github.com/detekt/detekt/pull/2454) +- The Detekt HTML Report should include date, version number, website link (Feature Request) - [#2416](https://github.com/detekt/detekt/issues/2416) +- Added validation of constructors to LongParameterList - [#2410](https://github.com/detekt/detekt/pull/2410) +- UnusedPrivateMember doesn't report the correct warning count - [#1981](https://github.com/detekt/detekt/issues/1981) +- UnusedPrivateMember should consider overloaded operators - [#1444](https://github.com/detekt/detekt/issues/1444) +- False positive on rule UnnecessaryAbstractClass - [#727](https://github.com/detekt/detekt/issues/727) +- MemberNameEqualsClassName ignores functions which return a single expression - [#655](https://github.com/detekt/detekt/issues/655) -See all issues at: [1.7.1](https://github.com/arturbosch/detekt/milestone/60) +See all issues at: [1.7.1](https://github.com/detekt/detekt/milestone/60) #### 1.7.0 @@ -185,90 +185,90 @@ See all issues at: [1.7.1](https://github.com/arturbosch/detekt/milestone/60) ##### Changelog -- Update Travis to use the newest xcode11.3 image - [#2480](https://github.com/arturbosch/detekt/pull/2480) -- Synchronize use of root extension point - [#2479](https://github.com/arturbosch/detekt/pull/2479) -- Extend ComplexInterface to support exclusion of private member/functions - [#2478](https://github.com/arturbosch/detekt/pull/2478) -- Minor refactors around --create-baseline - [#2477](https://github.com/arturbosch/detekt/pull/2477) -- Check primary ctor in UndocumentedPublicProperty - [#2475](https://github.com/arturbosch/detekt/pull/2475) -- Unify yaml strings - [#2472](https://github.com/arturbosch/detekt/pull/2472) -- Running detektBaseline generates too general exceptions, disabling rules - [#2471](https://github.com/arturbosch/detekt/issues/2471) -- UndocumentedPublicProperty doesn't check primary constructor - [#2468](https://github.com/arturbosch/detekt/issues/2468) -- Remove default implementations of toString() - [#2467](https://github.com/arturbosch/detekt/pull/2467) -- Remove tags from core documentation sites - [#2466](https://github.com/arturbosch/detekt/pull/2466) -- Validate boolean config values - Closes #2045 - [#2465](https://github.com/arturbosch/detekt/pull/2465) -- Add test for BaselineHandler - [#2462](https://github.com/arturbosch/detekt/pull/2462) -- Refactor BaselineFormatSpec.kt - [#2461](https://github.com/arturbosch/detekt/pull/2461) -- Add tests for BaselineFacade - [#2460](https://github.com/arturbosch/detekt/pull/2460) -- Fix toString() output for Whitelist class - [#2459](https://github.com/arturbosch/detekt/pull/2459) -- Remove unused functions in XmlExtensions.kt - [#2458](https://github.com/arturbosch/detekt/pull/2458) -- Add test cases for invalid yaml config - [#2457](https://github.com/arturbosch/detekt/pull/2457) -- Add edge test cases for ComplexityReportGenerator - [#2456](https://github.com/arturbosch/detekt/pull/2456) -- Simplify anonymous Detektion object creation - [#2455](https://github.com/arturbosch/detekt/pull/2455) -- Update trim logic in Debt:toString() - [#2453](https://github.com/arturbosch/detekt/pull/2453) -- Refactor FindingsReport + FileBasedFindingsReport - [#2451](https://github.com/arturbosch/detekt/pull/2451) -- Rename tests with _Test prefix to _Spec - [#2450](https://github.com/arturbosch/detekt/pull/2450) -- Refactor HtmlOutputReport - [#2449](https://github.com/arturbosch/detekt/pull/2449) -- Simplify UnnecessaryApplySpec test cases - [#2448](https://github.com/arturbosch/detekt/pull/2448) -- Link code samples package for extension guide - [#2447](https://github.com/arturbosch/detekt/pull/2447) -- ComplexInterface - should it also count private methods? - [#2446](https://github.com/arturbosch/detekt/issues/2446) -- Update AppVeyor branch conf to comply with Travis - [#2445](https://github.com/arturbosch/detekt/pull/2445) -- Add PsiViewer plugin to Contributing guide - [#2444](https://github.com/arturbosch/detekt/pull/2444) -- UnnecessaryApply: fix false positive when it's used as an expression - [#2442](https://github.com/arturbosch/detekt/pull/2442) -- Add detekt-hint to integrations - [#2441](https://github.com/arturbosch/detekt/pull/2441) -- SwallowedException: fix false negative when using variables - [#2436](https://github.com/arturbosch/detekt/pull/2436) -- UnnecessaryApply false positive cases - [#2435](https://github.com/arturbosch/detekt/issues/2435) -- Prepare 1.7.0-beta2 release - [#2434](https://github.com/arturbosch/detekt/pull/2434) -- Parallel invocation of DetektFacade fails spuriously - [#2433](https://github.com/arturbosch/detekt/issues/2433) -- Deprecate BaseRule and state that it will be make sealed - #2365 - [#2432](https://github.com/arturbosch/detekt/pull/2432) -- Add License rule - [#2429](https://github.com/arturbosch/detekt/pull/2429) -- Skip all guard clauses at function start for ReturnCount - Closes #2342 - [#2428](https://github.com/arturbosch/detekt/pull/2428) -- Fail if `--baseline` file not found - [#2427](https://github.com/arturbosch/detekt/pull/2427) -- Add tests for YamlConfig - [#2426](https://github.com/arturbosch/detekt/pull/2426) -- Choose a minimum codecov patch coverage ratio - [#2425](https://github.com/arturbosch/detekt/pull/2425) -- Include ruleset-suppression feature doc - [#2424](https://github.com/arturbosch/detekt/pull/2424) -- Add Groovy DSL example for jvmTarget to homepage - [#2423](https://github.com/arturbosch/detekt/pull/2423) -- Add groovy dsl example for jvmTarget - Closes #2408 - [#2422](https://github.com/arturbosch/detekt/pull/2422) -- Deprecate hierarchical config - [#2421](https://github.com/arturbosch/detekt/pull/2421) -- Deprecate implementations of Config - [#2420](https://github.com/arturbosch/detekt/pull/2420) -- Remove YAML Extension Requirement - [#2419](https://github.com/arturbosch/detekt/pull/2419) -- Update Spek version to 2.0.10 - [#2418](https://github.com/arturbosch/detekt/pull/2418) -- file does not end with .yml! - [#2417](https://github.com/arturbosch/detekt/issues/2417) -- Disable autoCorrect property for all rules if global flag is set to false - [#2413](https://github.com/arturbosch/detekt/pull/2413) -- Release 1.7.0 beta - [#2409](https://github.com/arturbosch/detekt/pull/2409) -- Stop using kotlin-reflect - [#2405](https://github.com/arturbosch/detekt/pull/2405) -- Stop compiling with experimental flag - [#2404](https://github.com/arturbosch/detekt/pull/2404) -- Only post a code coverage patch status to PRs - [#2402](https://github.com/arturbosch/detekt/pull/2402) -- ExplicitCollectionElementAccessMethod: Don't report on nullable collection - [#2401](https://github.com/arturbosch/detekt/pull/2401) -- Discourage new Case files - [#2399](https://github.com/arturbosch/detekt/pull/2399) -- Use argsfiles for CI - [#2397](https://github.com/arturbosch/detekt/pull/2397) -- Update to Kotlin v1.3.70 - [#2396](https://github.com/arturbosch/detekt/pull/2396) -- Fix typo in VersionPrinter test - [#2395](https://github.com/arturbosch/detekt/pull/2395) -- Add documentation for cli --version flag - [#2392](https://github.com/arturbosch/detekt/pull/2392) -- ExplicitCollectionElementAccessMethod: Do not report map?.get("foo") - [#2391](https://github.com/arturbosch/detekt/issues/2391) -- Update Gradle to 6.2.1 - [#2390](https://github.com/arturbosch/detekt/pull/2390) -- Do not report conditional elvis continue statements - Closes#2388 - [#2389](https://github.com/arturbosch/detekt/pull/2389) -- False positive: UnconditionalJumpStatementInLoop with elvis operator ?: - [#2388](https://github.com/arturbosch/detekt/issues/2388) -- Refactor getting the detekt version for readability - [#2387](https://github.com/arturbosch/detekt/pull/2387) -- Create less objects and sets when creating findings id map - [#2385](https://github.com/arturbosch/detekt/pull/2385) -- Add --version to cli - [#2383](https://github.com/arturbosch/detekt/pull/2383) -- Add `--version` CLI option - [#2382](https://github.com/arturbosch/detekt/issues/2382) -- Add test cases for cli/runners package - [#2381](https://github.com/arturbosch/detekt/pull/2381) -- Sort and run correctable rules first - #2341 - [#2378](https://github.com/arturbosch/detekt/pull/2378) -- Should fail if `--baseline` file does not found? - [#2374](https://github.com/arturbosch/detekt/issues/2374) -- Deprecate rule set methods which expose implementation details of detekt-core - [#2366](https://github.com/arturbosch/detekt/pull/2366) -- Deprecate api's exposing detekt-core implementation details - [#2365](https://github.com/arturbosch/detekt/issues/2365) -- ReturnCount excludeGuardClauses not working - [#2342](https://github.com/arturbosch/detekt/issues/2342) -- Mixing autocorrectable and non correctable rules results in obsolete issue locations for reports - [#2341](https://github.com/arturbosch/detekt/issues/2341) -- Allow Detekt CLI to take an args file. - [#2318](https://github.com/arturbosch/detekt/issues/2318) -- Homepage doesn't show Jekyll tags correctly - [#2309](https://github.com/arturbosch/detekt/issues/2309) -- Call detekt reflectively - [#2282](https://github.com/arturbosch/detekt/pull/2282) -- Copyright header rule for Kotlin files - #1515 - [#2077](https://github.com/arturbosch/detekt/pull/2077) -- SwallowedException false negative - [#2049](https://github.com/arturbosch/detekt/issues/2049) -- Invalid boolean config values are evaluated silently to false - [#2045](https://github.com/arturbosch/detekt/issues/2045) -- Detekt gradle is much slower than the jar - [#2035](https://github.com/arturbosch/detekt/issues/2035) -- Cases files are super rigorous to work with - [#1089](https://github.com/arturbosch/detekt/issues/1089) +- Update Travis to use the newest xcode11.3 image - [#2480](https://github.com/detekt/detekt/pull/2480) +- Synchronize use of root extension point - [#2479](https://github.com/detekt/detekt/pull/2479) +- Extend ComplexInterface to support exclusion of private member/functions - [#2478](https://github.com/detekt/detekt/pull/2478) +- Minor refactors around --create-baseline - [#2477](https://github.com/detekt/detekt/pull/2477) +- Check primary ctor in UndocumentedPublicProperty - [#2475](https://github.com/detekt/detekt/pull/2475) +- Unify yaml strings - [#2472](https://github.com/detekt/detekt/pull/2472) +- Running detektBaseline generates too general exceptions, disabling rules - [#2471](https://github.com/detekt/detekt/issues/2471) +- UndocumentedPublicProperty doesn't check primary constructor - [#2468](https://github.com/detekt/detekt/issues/2468) +- Remove default implementations of toString() - [#2467](https://github.com/detekt/detekt/pull/2467) +- Remove tags from core documentation sites - [#2466](https://github.com/detekt/detekt/pull/2466) +- Validate boolean config values - Closes #2045 - [#2465](https://github.com/detekt/detekt/pull/2465) +- Add test for BaselineHandler - [#2462](https://github.com/detekt/detekt/pull/2462) +- Refactor BaselineFormatSpec.kt - [#2461](https://github.com/detekt/detekt/pull/2461) +- Add tests for BaselineFacade - [#2460](https://github.com/detekt/detekt/pull/2460) +- Fix toString() output for Whitelist class - [#2459](https://github.com/detekt/detekt/pull/2459) +- Remove unused functions in XmlExtensions.kt - [#2458](https://github.com/detekt/detekt/pull/2458) +- Add test cases for invalid yaml config - [#2457](https://github.com/detekt/detekt/pull/2457) +- Add edge test cases for ComplexityReportGenerator - [#2456](https://github.com/detekt/detekt/pull/2456) +- Simplify anonymous Detektion object creation - [#2455](https://github.com/detekt/detekt/pull/2455) +- Update trim logic in Debt:toString() - [#2453](https://github.com/detekt/detekt/pull/2453) +- Refactor FindingsReport + FileBasedFindingsReport - [#2451](https://github.com/detekt/detekt/pull/2451) +- Rename tests with _Test prefix to _Spec - [#2450](https://github.com/detekt/detekt/pull/2450) +- Refactor HtmlOutputReport - [#2449](https://github.com/detekt/detekt/pull/2449) +- Simplify UnnecessaryApplySpec test cases - [#2448](https://github.com/detekt/detekt/pull/2448) +- Link code samples package for extension guide - [#2447](https://github.com/detekt/detekt/pull/2447) +- ComplexInterface - should it also count private methods? - [#2446](https://github.com/detekt/detekt/issues/2446) +- Update AppVeyor branch conf to comply with Travis - [#2445](https://github.com/detekt/detekt/pull/2445) +- Add PsiViewer plugin to Contributing guide - [#2444](https://github.com/detekt/detekt/pull/2444) +- UnnecessaryApply: fix false positive when it's used as an expression - [#2442](https://github.com/detekt/detekt/pull/2442) +- Add detekt-hint to integrations - [#2441](https://github.com/detekt/detekt/pull/2441) +- SwallowedException: fix false negative when using variables - [#2436](https://github.com/detekt/detekt/pull/2436) +- UnnecessaryApply false positive cases - [#2435](https://github.com/detekt/detekt/issues/2435) +- Prepare 1.7.0-beta2 release - [#2434](https://github.com/detekt/detekt/pull/2434) +- Parallel invocation of DetektFacade fails spuriously - [#2433](https://github.com/detekt/detekt/issues/2433) +- Deprecate BaseRule and state that it will be make sealed - #2365 - [#2432](https://github.com/detekt/detekt/pull/2432) +- Add License rule - [#2429](https://github.com/detekt/detekt/pull/2429) +- Skip all guard clauses at function start for ReturnCount - Closes #2342 - [#2428](https://github.com/detekt/detekt/pull/2428) +- Fail if `--baseline` file not found - [#2427](https://github.com/detekt/detekt/pull/2427) +- Add tests for YamlConfig - [#2426](https://github.com/detekt/detekt/pull/2426) +- Choose a minimum codecov patch coverage ratio - [#2425](https://github.com/detekt/detekt/pull/2425) +- Include ruleset-suppression feature doc - [#2424](https://github.com/detekt/detekt/pull/2424) +- Add Groovy DSL example for jvmTarget to homepage - [#2423](https://github.com/detekt/detekt/pull/2423) +- Add groovy dsl example for jvmTarget - Closes #2408 - [#2422](https://github.com/detekt/detekt/pull/2422) +- Deprecate hierarchical config - [#2421](https://github.com/detekt/detekt/pull/2421) +- Deprecate implementations of Config - [#2420](https://github.com/detekt/detekt/pull/2420) +- Remove YAML Extension Requirement - [#2419](https://github.com/detekt/detekt/pull/2419) +- Update Spek version to 2.0.10 - [#2418](https://github.com/detekt/detekt/pull/2418) +- file does not end with .yml! - [#2417](https://github.com/detekt/detekt/issues/2417) +- Disable autoCorrect property for all rules if global flag is set to false - [#2413](https://github.com/detekt/detekt/pull/2413) +- Release 1.7.0 beta - [#2409](https://github.com/detekt/detekt/pull/2409) +- Stop using kotlin-reflect - [#2405](https://github.com/detekt/detekt/pull/2405) +- Stop compiling with experimental flag - [#2404](https://github.com/detekt/detekt/pull/2404) +- Only post a code coverage patch status to PRs - [#2402](https://github.com/detekt/detekt/pull/2402) +- ExplicitCollectionElementAccessMethod: Don't report on nullable collection - [#2401](https://github.com/detekt/detekt/pull/2401) +- Discourage new Case files - [#2399](https://github.com/detekt/detekt/pull/2399) +- Use argsfiles for CI - [#2397](https://github.com/detekt/detekt/pull/2397) +- Update to Kotlin v1.3.70 - [#2396](https://github.com/detekt/detekt/pull/2396) +- Fix typo in VersionPrinter test - [#2395](https://github.com/detekt/detekt/pull/2395) +- Add documentation for cli --version flag - [#2392](https://github.com/detekt/detekt/pull/2392) +- ExplicitCollectionElementAccessMethod: Do not report map?.get("foo") - [#2391](https://github.com/detekt/detekt/issues/2391) +- Update Gradle to 6.2.1 - [#2390](https://github.com/detekt/detekt/pull/2390) +- Do not report conditional elvis continue statements - Closes#2388 - [#2389](https://github.com/detekt/detekt/pull/2389) +- False positive: UnconditionalJumpStatementInLoop with elvis operator ?: - [#2388](https://github.com/detekt/detekt/issues/2388) +- Refactor getting the detekt version for readability - [#2387](https://github.com/detekt/detekt/pull/2387) +- Create less objects and sets when creating findings id map - [#2385](https://github.com/detekt/detekt/pull/2385) +- Add --version to cli - [#2383](https://github.com/detekt/detekt/pull/2383) +- Add `--version` CLI option - [#2382](https://github.com/detekt/detekt/issues/2382) +- Add test cases for cli/runners package - [#2381](https://github.com/detekt/detekt/pull/2381) +- Sort and run correctable rules first - #2341 - [#2378](https://github.com/detekt/detekt/pull/2378) +- Should fail if `--baseline` file does not found? - [#2374](https://github.com/detekt/detekt/issues/2374) +- Deprecate rule set methods which expose implementation details of detekt-core - [#2366](https://github.com/detekt/detekt/pull/2366) +- Deprecate api's exposing detekt-core implementation details - [#2365](https://github.com/detekt/detekt/issues/2365) +- ReturnCount excludeGuardClauses not working - [#2342](https://github.com/detekt/detekt/issues/2342) +- Mixing autocorrectable and non correctable rules results in obsolete issue locations for reports - [#2341](https://github.com/detekt/detekt/issues/2341) +- Allow Detekt CLI to take an args file. - [#2318](https://github.com/detekt/detekt/issues/2318) +- Homepage doesn't show Jekyll tags correctly - [#2309](https://github.com/detekt/detekt/issues/2309) +- Call detekt reflectively - [#2282](https://github.com/detekt/detekt/pull/2282) +- Copyright header rule for Kotlin files - #1515 - [#2077](https://github.com/detekt/detekt/pull/2077) +- SwallowedException false negative - [#2049](https://github.com/detekt/detekt/issues/2049) +- Invalid boolean config values are evaluated silently to false - [#2045](https://github.com/detekt/detekt/issues/2045) +- Detekt gradle is much slower than the jar - [#2035](https://github.com/detekt/detekt/issues/2035) +- Cases files are super rigorous to work with - [#1089](https://github.com/detekt/detekt/issues/1089) -See all issues at: [1.7.0](https://github.com/arturbosch/detekt/milestone/59) +See all issues at: [1.7.0](https://github.com/detekt/detekt/milestone/59) #### 1.6.0 @@ -281,57 +281,57 @@ If you need to include further config property checks, give the new `ConfigValid ##### Changelog -- Check-in ConfigValidator documentation - [#2368](https://github.com/arturbosch/detekt/pull/2368) -- Remove obsolete PathFilter class - [#2367](https://github.com/arturbosch/detekt/pull/2367) -- Reference coroutines doc for homepage - [#2363](https://github.com/arturbosch/detekt/pull/2363) -- [Documentation Request] Coroutine Ruleset - [#2362](https://github.com/arturbosch/detekt/issues/2362) -- Extend AnnotationExcluder to catch fully qualified annotations - [#2361](https://github.com/arturbosch/detekt/pull/2361) -- UnnecessaryAbstractClass excludeAnnotatedClasses not working - [#2360](https://github.com/arturbosch/detekt/issues/2360) -- Replace LinkedList with ArrayDeque - [#2358](https://github.com/arturbosch/detekt/pull/2358) -- Fix detection of CRLF line endings - [#2357](https://github.com/arturbosch/detekt/pull/2357) -- Introduce new ConfigValidator extensions - #2285 - [#2356](https://github.com/arturbosch/detekt/pull/2356) -- Include options to better meet requirements for utility files - [#2355](https://github.com/arturbosch/detekt/pull/2355) -- Don't normalize file content twice - [#2354](https://github.com/arturbosch/detekt/pull/2354) -- Remove unused code in rules/Case.kt - [#2351](https://github.com/arturbosch/detekt/pull/2351) -- Add blog post about speeding up a detekt task - [#2349](https://github.com/arturbosch/detekt/pull/2349) -- Add tests for setting KtLint's config - [#2348](https://github.com/arturbosch/detekt/pull/2348) -- add details into internal validation - [#2347](https://github.com/arturbosch/detekt/pull/2347) -- Minor change in the HTML report: Remove extra space when you copy the file path - [#2344](https://github.com/arturbosch/detekt/pull/2344) -- detekt does not always inject the required EDITOR_CONFIG_USER_DATA_KEY for ktlint - [#2339](https://github.com/arturbosch/detekt/issues/2339) -- Remove duplicate tests for TooManyFunctions rule - [#2338](https://github.com/arturbosch/detekt/pull/2338) -- Add EmptyTryBlock rule - [#2337](https://github.com/arturbosch/detekt/pull/2337) -- Use requireNotNull for arguments checking - [#2336](https://github.com/arturbosch/detekt/pull/2336) -- Refactor and add tests to Ast- and ElementPrinter - [#2335](https://github.com/arturbosch/detekt/pull/2335) -- Add test case for disabled reports - [#2334](https://github.com/arturbosch/detekt/pull/2334) -- Refactor ReportPath:load() - [#2333](https://github.com/arturbosch/detekt/pull/2333) -- Add test case for FileProcessorLocator - [#2332](https://github.com/arturbosch/detekt/pull/2332) -- Add test cases for Kt(Tree)Compiler - [#2331](https://github.com/arturbosch/detekt/pull/2331) -- Add equality test cases for PathFiler - [#2330](https://github.com/arturbosch/detekt/pull/2330) -- Add local function test case for MethodOverloading rule - [#2328](https://github.com/arturbosch/detekt/pull/2328) -- Add anonymous object expression test case for MethodOverloading rule - [#2327](https://github.com/arturbosch/detekt/pull/2327) -- Validate Gradle Wrapper - [#2326](https://github.com/arturbosch/detekt/pull/2326) -- Use more consistent metrics in HtmlReport - [#2325](https://github.com/arturbosch/detekt/pull/2325) -- Fix ClassCastException in ExplicitCollectionElementAccessMethod - [#2323](https://github.com/arturbosch/detekt/pull/2323) -- ExplicitCollectionElementAccessMethod crashes - [#2322](https://github.com/arturbosch/detekt/issues/2322) -- use same behaviour for valueOrNull as for valueOrDefault - [#2319](https://github.com/arturbosch/detekt/pull/2319) -- FailFastConfig.valueOrNull should return specified value for active and maxIssues - [#2316](https://github.com/arturbosch/detekt/issues/2316) -- Bugfix: MagicNumber with ignoreNamedArgument and a negative value - [#2315](https://github.com/arturbosch/detekt/pull/2315) -- More consistent reports - [#2291](https://github.com/arturbosch/detekt/issues/2291) -- Change MatchingDeclarationName to handle utility files - [#1500](https://github.com/arturbosch/detekt/issues/1500) -- False-positive MagicNumber issue reported when using negative numbers - [#530](https://github.com/arturbosch/detekt/issues/530) +- Check-in ConfigValidator documentation - [#2368](https://github.com/detekt/detekt/pull/2368) +- Remove obsolete PathFilter class - [#2367](https://github.com/detekt/detekt/pull/2367) +- Reference coroutines doc for homepage - [#2363](https://github.com/detekt/detekt/pull/2363) +- [Documentation Request] Coroutine Ruleset - [#2362](https://github.com/detekt/detekt/issues/2362) +- Extend AnnotationExcluder to catch fully qualified annotations - [#2361](https://github.com/detekt/detekt/pull/2361) +- UnnecessaryAbstractClass excludeAnnotatedClasses not working - [#2360](https://github.com/detekt/detekt/issues/2360) +- Replace LinkedList with ArrayDeque - [#2358](https://github.com/detekt/detekt/pull/2358) +- Fix detection of CRLF line endings - [#2357](https://github.com/detekt/detekt/pull/2357) +- Introduce new ConfigValidator extensions - #2285 - [#2356](https://github.com/detekt/detekt/pull/2356) +- Include options to better meet requirements for utility files - [#2355](https://github.com/detekt/detekt/pull/2355) +- Don't normalize file content twice - [#2354](https://github.com/detekt/detekt/pull/2354) +- Remove unused code in rules/Case.kt - [#2351](https://github.com/detekt/detekt/pull/2351) +- Add blog post about speeding up a detekt task - [#2349](https://github.com/detekt/detekt/pull/2349) +- Add tests for setting KtLint's config - [#2348](https://github.com/detekt/detekt/pull/2348) +- add details into internal validation - [#2347](https://github.com/detekt/detekt/pull/2347) +- Minor change in the HTML report: Remove extra space when you copy the file path - [#2344](https://github.com/detekt/detekt/pull/2344) +- detekt does not always inject the required EDITOR_CONFIG_USER_DATA_KEY for ktlint - [#2339](https://github.com/detekt/detekt/issues/2339) +- Remove duplicate tests for TooManyFunctions rule - [#2338](https://github.com/detekt/detekt/pull/2338) +- Add EmptyTryBlock rule - [#2337](https://github.com/detekt/detekt/pull/2337) +- Use requireNotNull for arguments checking - [#2336](https://github.com/detekt/detekt/pull/2336) +- Refactor and add tests to Ast- and ElementPrinter - [#2335](https://github.com/detekt/detekt/pull/2335) +- Add test case for disabled reports - [#2334](https://github.com/detekt/detekt/pull/2334) +- Refactor ReportPath:load() - [#2333](https://github.com/detekt/detekt/pull/2333) +- Add test case for FileProcessorLocator - [#2332](https://github.com/detekt/detekt/pull/2332) +- Add test cases for Kt(Tree)Compiler - [#2331](https://github.com/detekt/detekt/pull/2331) +- Add equality test cases for PathFiler - [#2330](https://github.com/detekt/detekt/pull/2330) +- Add local function test case for MethodOverloading rule - [#2328](https://github.com/detekt/detekt/pull/2328) +- Add anonymous object expression test case for MethodOverloading rule - [#2327](https://github.com/detekt/detekt/pull/2327) +- Validate Gradle Wrapper - [#2326](https://github.com/detekt/detekt/pull/2326) +- Use more consistent metrics in HtmlReport - [#2325](https://github.com/detekt/detekt/pull/2325) +- Fix ClassCastException in ExplicitCollectionElementAccessMethod - [#2323](https://github.com/detekt/detekt/pull/2323) +- ExplicitCollectionElementAccessMethod crashes - [#2322](https://github.com/detekt/detekt/issues/2322) +- use same behaviour for valueOrNull as for valueOrDefault - [#2319](https://github.com/detekt/detekt/pull/2319) +- FailFastConfig.valueOrNull should return specified value for active and maxIssues - [#2316](https://github.com/detekt/detekt/issues/2316) +- Bugfix: MagicNumber with ignoreNamedArgument and a negative value - [#2315](https://github.com/detekt/detekt/pull/2315) +- More consistent reports - [#2291](https://github.com/detekt/detekt/issues/2291) +- Change MatchingDeclarationName to handle utility files - [#1500](https://github.com/detekt/detekt/issues/1500) +- False-positive MagicNumber issue reported when using negative numbers - [#530](https://github.com/detekt/detekt/issues/530) -See all issues at: [1.6.0](https://github.com/arturbosch/detekt/milestone/57) +See all issues at: [1.6.0](https://github.com/detekt/detekt/milestone/57) #### 1.5.1 -- Update intro page to deprecate input property - [#2311](https://github.com/arturbosch/detekt/pull/2311) -- Update codecov run settings to after_n_builds=4 - [#2305](https://github.com/arturbosch/detekt/pull/2305) -- Update GroovyDSL doc to deprecate input property - [#2304](https://github.com/arturbosch/detekt/pull/2304) -- Update KotlinDSL doc to deprecate input property - [#2303](https://github.com/arturbosch/detekt/pull/2303) -- Fix ExplicitCollectionElementAccessMethod crash - [#2302](https://github.com/arturbosch/detekt/pull/2302) -- ExplicitCollectionElementAccessMethod crashes - [#2301](https://github.com/arturbosch/detekt/issues/2301) +- Update intro page to deprecate input property - [#2311](https://github.com/detekt/detekt/pull/2311) +- Update codecov run settings to after_n_builds=4 - [#2305](https://github.com/detekt/detekt/pull/2305) +- Update GroovyDSL doc to deprecate input property - [#2304](https://github.com/detekt/detekt/pull/2304) +- Update KotlinDSL doc to deprecate input property - [#2303](https://github.com/detekt/detekt/pull/2303) +- Fix ExplicitCollectionElementAccessMethod crash - [#2302](https://github.com/detekt/detekt/pull/2302) +- ExplicitCollectionElementAccessMethod crashes - [#2301](https://github.com/detekt/detekt/issues/2301) -See all issues at: [1.5.1](https://github.com/arturbosch/detekt/milestone/58) +See all issues at: [1.5.1](https://github.com/detekt/detekt/milestone/58) #### 1.5.0 @@ -361,37 +361,37 @@ build: ##### Changelog -- add new mention to README.md - [#2293](https://github.com/arturbosch/detekt/pull/2293) -- Sort html report - [#2290](https://github.com/arturbosch/detekt/pull/2290) -- Number format in some report - [#2289](https://github.com/arturbosch/detekt/pull/2289) -- Show the finding count in the html report - [#2288](https://github.com/arturbosch/detekt/pull/2288) -- Keep the order of the issues in the html report - [#2287](https://github.com/arturbosch/detekt/issues/2287) -- Show issue count in the html report - [#2286](https://github.com/arturbosch/detekt/issues/2286) -- Fixing the Documentation not properly calling the superclass - [#2284](https://github.com/arturbosch/detekt/pull/2284) -- Do you have to call super in custom rules? - [#2283](https://github.com/arturbosch/detekt/issues/2283) -- Measure performance of various stages when using --debug - [#2281](https://github.com/arturbosch/detekt/pull/2281) -- Remove printing the whole config for --debug - [#2280](https://github.com/arturbosch/detekt/pull/2280) -- Introduce DefaultRuleSetProvider interface marking detekt-rules providers as default - [#2279](https://github.com/arturbosch/detekt/pull/2279) -- Simplify test dependency setup in build files - [#2278](https://github.com/arturbosch/detekt/pull/2278) -- Fix class loader memory leaks when loading services - [#2277](https://github.com/arturbosch/detekt/pull/2277) -- Always dispose Kotlin environment fixing memory leak in error cases - [#2276](https://github.com/arturbosch/detekt/pull/2276) -- Sanitize gradle build scripts and suppress unstable api usages - [#2271](https://github.com/arturbosch/detekt/pull/2271) -- Update website ruby dependencies fixing potential security vulnerability - [#2270](https://github.com/arturbosch/detekt/pull/2270) -- Fix regression not considering baseline file when calculating build failure threshold - [#2269](https://github.com/arturbosch/detekt/pull/2269) -- Turn detekt silent by default - [#2268](https://github.com/arturbosch/detekt/pull/2268) -- Remove redundant build failure message - #2264 - [#2266](https://github.com/arturbosch/detekt/pull/2266) -- Build failed with... is printed twice in the cli - [#2264](https://github.com/arturbosch/detekt/issues/2264) -- Update config:maxIssues value to 0 - [#2263](https://github.com/arturbosch/detekt/pull/2263) -- Don't flag inherited visibility in NestedClassesVisibility - [#2261](https://github.com/arturbosch/detekt/pull/2261) -- Simplify argument parsing logic, remove any exitProcess() calls from buildRunner - [#2260](https://github.com/arturbosch/detekt/pull/2260) -- Modify default behavior to not output unless errors are found. Adding a verbose flag which will have legacy behavior - [#2258](https://github.com/arturbosch/detekt/pull/2258) -- Test some edge cases in detekt-api - [#2256](https://github.com/arturbosch/detekt/pull/2256) -- Add a new line at the end of the txt report - [#2255](https://github.com/arturbosch/detekt/pull/2255) -- Implement ExplicitCollectionElementAccessMethod rule - [#2215](https://github.com/arturbosch/detekt/pull/2215) -- ForbiddenMethod Rule - [#1954](https://github.com/arturbosch/detekt/pull/1954) -- NestedClassesVisibility(False negative): Nested class doesn't inherit visibility from parent - [#1930](https://github.com/arturbosch/detekt/issues/1930) +- add new mention to README.md - [#2293](https://github.com/detekt/detekt/pull/2293) +- Sort html report - [#2290](https://github.com/detekt/detekt/pull/2290) +- Number format in some report - [#2289](https://github.com/detekt/detekt/pull/2289) +- Show the finding count in the html report - [#2288](https://github.com/detekt/detekt/pull/2288) +- Keep the order of the issues in the html report - [#2287](https://github.com/detekt/detekt/issues/2287) +- Show issue count in the html report - [#2286](https://github.com/detekt/detekt/issues/2286) +- Fixing the Documentation not properly calling the superclass - [#2284](https://github.com/detekt/detekt/pull/2284) +- Do you have to call super in custom rules? - [#2283](https://github.com/detekt/detekt/issues/2283) +- Measure performance of various stages when using --debug - [#2281](https://github.com/detekt/detekt/pull/2281) +- Remove printing the whole config for --debug - [#2280](https://github.com/detekt/detekt/pull/2280) +- Introduce DefaultRuleSetProvider interface marking detekt-rules providers as default - [#2279](https://github.com/detekt/detekt/pull/2279) +- Simplify test dependency setup in build files - [#2278](https://github.com/detekt/detekt/pull/2278) +- Fix class loader memory leaks when loading services - [#2277](https://github.com/detekt/detekt/pull/2277) +- Always dispose Kotlin environment fixing memory leak in error cases - [#2276](https://github.com/detekt/detekt/pull/2276) +- Sanitize gradle build scripts and suppress unstable api usages - [#2271](https://github.com/detekt/detekt/pull/2271) +- Update website ruby dependencies fixing potential security vulnerability - [#2270](https://github.com/detekt/detekt/pull/2270) +- Fix regression not considering baseline file when calculating build failure threshold - [#2269](https://github.com/detekt/detekt/pull/2269) +- Turn detekt silent by default - [#2268](https://github.com/detekt/detekt/pull/2268) +- Remove redundant build failure message - #2264 - [#2266](https://github.com/detekt/detekt/pull/2266) +- Build failed with... is printed twice in the cli - [#2264](https://github.com/detekt/detekt/issues/2264) +- Update config:maxIssues value to 0 - [#2263](https://github.com/detekt/detekt/pull/2263) +- Don't flag inherited visibility in NestedClassesVisibility - [#2261](https://github.com/detekt/detekt/pull/2261) +- Simplify argument parsing logic, remove any exitProcess() calls from buildRunner - [#2260](https://github.com/detekt/detekt/pull/2260) +- Modify default behavior to not output unless errors are found. Adding a verbose flag which will have legacy behavior - [#2258](https://github.com/detekt/detekt/pull/2258) +- Test some edge cases in detekt-api - [#2256](https://github.com/detekt/detekt/pull/2256) +- Add a new line at the end of the txt report - [#2255](https://github.com/detekt/detekt/pull/2255) +- Implement ExplicitCollectionElementAccessMethod rule - [#2215](https://github.com/detekt/detekt/pull/2215) +- ForbiddenMethod Rule - [#1954](https://github.com/detekt/detekt/pull/1954) +- NestedClassesVisibility(False negative): Nested class doesn't inherit visibility from parent - [#1930](https://github.com/detekt/detekt/issues/1930) -See all issues at: [1.5.0](https://github.com/arturbosch/detekt/milestone/56) +See all issues at: [1.5.0](https://github.com/detekt/detekt/milestone/56) #### 1.4.0 @@ -419,67 +419,67 @@ The properties `ignoreOverriddenFunction` and `ignoreOverriddenFunctions` of som ##### Changelog -- Refactor BuildFailure code - [#2250](https://github.com/arturbosch/detekt/pull/2250) -- Fix nested methods bug in MethodOverloading rule - [#2249](https://github.com/arturbosch/detekt/pull/2249) -- ThrowingExceptionInMain rule should consider main() function with no parameters - [#2248](https://github.com/arturbosch/detekt/issues/2248) -- MethodOverloading bug with nested overloaded methods - [#2247](https://github.com/arturbosch/detekt/issues/2247) -- Reduce complexity in FindingsReport - [#2246](https://github.com/arturbosch/detekt/pull/2246) -- Add RedundantSuspendModifier rule - [#2244](https://github.com/arturbosch/detekt/pull/2244) -- New ktlint rules - [#2243](https://github.com/arturbosch/detekt/pull/2243) -- Inline MethodOverloading case file - [#2241](https://github.com/arturbosch/detekt/pull/2241) -- ThrowingExceptionInMain: fix #2248 and add tests - [#2240](https://github.com/arturbosch/detekt/pull/2240) -- Add disposing Kotlin environment. - [#2238](https://github.com/arturbosch/detekt/pull/2238) -- OOM on multiple invocations - [#2237](https://github.com/arturbosch/detekt/issues/2237) -- Improve doc for UnusedPrivateMember - [#2236](https://github.com/arturbosch/detekt/pull/2236) -- Don't resolve dependencies during project configuration - [#2235](https://github.com/arturbosch/detekt/pull/2235) -- Revert "Introduce Pull Request Labeler" - [#2234](https://github.com/arturbosch/detekt/pull/2234) -- Fix #2230 equals() func detection - [#2233](https://github.com/arturbosch/detekt/pull/2233) -- Fix git commit-hook label and code snippet doc - [#2232](https://github.com/arturbosch/detekt/pull/2232) -- WrongEqualsTypeParameter does not ignore multi-parameter equals methods - [#2230](https://github.com/arturbosch/detekt/issues/2230) -- Introduce Pull Request Labeler - [#2228](https://github.com/arturbosch/detekt/pull/2228) -- Gradle plugin: Build upon default detekt config - [#2227](https://github.com/arturbosch/detekt/pull/2227) -- Apply ktlint formatting plugin to Gradle plugin - [#2226](https://github.com/arturbosch/detekt/pull/2226) -- Bump dependencies - [#2225](https://github.com/arturbosch/detekt/pull/2225) -- Run shadowJar & installShadowDist task with everything else - [#2220](https://github.com/arturbosch/detekt/pull/2220) -- Travis: Use consistent Java vendor - [#2219](https://github.com/arturbosch/detekt/pull/2219) -- "Property is misspelled or does not exist" error for new rules in default rulesets - [#2217](https://github.com/arturbosch/detekt/issues/2217) -- MethodOverloading false positive if every entry of an enum implement a method. - [#2216](https://github.com/arturbosch/detekt/issues/2216) -- Add Git detekt pre-commit hook doc - [#2214](https://github.com/arturbosch/detekt/pull/2214) -- Remove exclude workaround for new build property - [#2203](https://github.com/arturbosch/detekt/pull/2203) -- Add GlobalCoroutineUsage rule + coroutines ruleset - [#2174](https://github.com/arturbosch/detekt/pull/2174) -- Add rule [RedundantSuspend] to detect redundant suspend modifiers - [#2156](https://github.com/arturbosch/detekt/issues/2156) -- Deprecate ignoreOverriddenFunction/s in favor of ignoreOverridden - [#2132](https://github.com/arturbosch/detekt/pull/2132) +- Refactor BuildFailure code - [#2250](https://github.com/detekt/detekt/pull/2250) +- Fix nested methods bug in MethodOverloading rule - [#2249](https://github.com/detekt/detekt/pull/2249) +- ThrowingExceptionInMain rule should consider main() function with no parameters - [#2248](https://github.com/detekt/detekt/issues/2248) +- MethodOverloading bug with nested overloaded methods - [#2247](https://github.com/detekt/detekt/issues/2247) +- Reduce complexity in FindingsReport - [#2246](https://github.com/detekt/detekt/pull/2246) +- Add RedundantSuspendModifier rule - [#2244](https://github.com/detekt/detekt/pull/2244) +- New ktlint rules - [#2243](https://github.com/detekt/detekt/pull/2243) +- Inline MethodOverloading case file - [#2241](https://github.com/detekt/detekt/pull/2241) +- ThrowingExceptionInMain: fix #2248 and add tests - [#2240](https://github.com/detekt/detekt/pull/2240) +- Add disposing Kotlin environment. - [#2238](https://github.com/detekt/detekt/pull/2238) +- OOM on multiple invocations - [#2237](https://github.com/detekt/detekt/issues/2237) +- Improve doc for UnusedPrivateMember - [#2236](https://github.com/detekt/detekt/pull/2236) +- Don't resolve dependencies during project configuration - [#2235](https://github.com/detekt/detekt/pull/2235) +- Revert "Introduce Pull Request Labeler" - [#2234](https://github.com/detekt/detekt/pull/2234) +- Fix #2230 equals() func detection - [#2233](https://github.com/detekt/detekt/pull/2233) +- Fix git commit-hook label and code snippet doc - [#2232](https://github.com/detekt/detekt/pull/2232) +- WrongEqualsTypeParameter does not ignore multi-parameter equals methods - [#2230](https://github.com/detekt/detekt/issues/2230) +- Introduce Pull Request Labeler - [#2228](https://github.com/detekt/detekt/pull/2228) +- Gradle plugin: Build upon default detekt config - [#2227](https://github.com/detekt/detekt/pull/2227) +- Apply ktlint formatting plugin to Gradle plugin - [#2226](https://github.com/detekt/detekt/pull/2226) +- Bump dependencies - [#2225](https://github.com/detekt/detekt/pull/2225) +- Run shadowJar & installShadowDist task with everything else - [#2220](https://github.com/detekt/detekt/pull/2220) +- Travis: Use consistent Java vendor - [#2219](https://github.com/detekt/detekt/pull/2219) +- "Property is misspelled or does not exist" error for new rules in default rulesets - [#2217](https://github.com/detekt/detekt/issues/2217) +- MethodOverloading false positive if every entry of an enum implement a method. - [#2216](https://github.com/detekt/detekt/issues/2216) +- Add Git detekt pre-commit hook doc - [#2214](https://github.com/detekt/detekt/pull/2214) +- Remove exclude workaround for new build property - [#2203](https://github.com/detekt/detekt/pull/2203) +- Add GlobalCoroutineUsage rule + coroutines ruleset - [#2174](https://github.com/detekt/detekt/pull/2174) +- Add rule [RedundantSuspend] to detect redundant suspend modifiers - [#2156](https://github.com/detekt/detekt/issues/2156) +- Deprecate ignoreOverriddenFunction/s in favor of ignoreOverridden - [#2132](https://github.com/detekt/detekt/pull/2132) -See all issues at: [1.4.0](https://github.com/arturbosch/detekt/milestone/55) +See all issues at: [1.4.0](https://github.com/detekt/detekt/milestone/55) #### 1.3.1 -- Remove old unused documentation - [#2210](https://github.com/arturbosch/detekt/pull/2210) -- Show code snippet erros in html reports - [#2209](https://github.com/arturbosch/detekt/pull/2209) -- Use compileAndLint in UnusedPrivateClassSpec - [#2208](https://github.com/arturbosch/detekt/pull/2208) -- Fix false positive in UnusedPrivateClass - [#2207](https://github.com/arturbosch/detekt/pull/2207) -- Update readme promoting new properties of the gradle plugin - [#2205](https://github.com/arturbosch/detekt/pull/2205) -- Rename default const containing _ACCEPTED_ - [#2204](https://github.com/arturbosch/detekt/pull/2204) -- Mistake From LongParameterList.kt - [#2202](https://github.com/arturbosch/detekt/issues/2202) -- Exclude yet unknown new build property - [#2201](https://github.com/arturbosch/detekt/pull/2201) -- Add comment regarding type resolution to README - [#2199](https://github.com/arturbosch/detekt/pull/2199) -- Type resolution doc - [#2198](https://github.com/arturbosch/detekt/pull/2198) -- Correct indentation for Groovy DSL doc - [#2197](https://github.com/arturbosch/detekt/pull/2197) -- Use shorthand syntax for assertThat() - [#2196](https://github.com/arturbosch/detekt/pull/2196) -- Refactor MagicNumber to use commaSeparatedPatterns - [#2195](https://github.com/arturbosch/detekt/pull/2195) -- Attach FILE_PATH_USER_DATA_KEY user data on FormattingRules (#1907) - [#2194](https://github.com/arturbosch/detekt/pull/2194) -- Handle invalid config exit code in gradle plugin - [#2193](https://github.com/arturbosch/detekt/pull/2193) -- Add tests showing how to exclude custom config properties in plugins - [#2192](https://github.com/arturbosch/detekt/pull/2192) -- Fix suppression of KtLint rules on file level - #2179 - [#2191](https://github.com/arturbosch/detekt/pull/2191) -- Mention needed kotlinx.html library from jcenter - #2146 - [#2190](https://github.com/arturbosch/detekt/pull/2190) -- UnusedPrivateClass has false positive behavior for deserialized items - [#2158](https://github.com/arturbosch/detekt/issues/2158) -- Use JDK 11 (LTS) + 13 for AppVeyor builds - [#2141](https://github.com/arturbosch/detekt/pull/2141) -- Document how to create a common baseline file for multi module gradle projects - [#2140](https://github.com/arturbosch/detekt/pull/2140) -- DetektAll with baseline fails with error - [#2100](https://github.com/arturbosch/detekt/issues/2100) -- ForbiddenMethod Rule - [#1954](https://github.com/arturbosch/detekt/pull/1954) -- Do not report auto-corrected formatting issues - [#1840](https://github.com/arturbosch/detekt/pull/1840) +- Remove old unused documentation - [#2210](https://github.com/detekt/detekt/pull/2210) +- Show code snippet erros in html reports - [#2209](https://github.com/detekt/detekt/pull/2209) +- Use compileAndLint in UnusedPrivateClassSpec - [#2208](https://github.com/detekt/detekt/pull/2208) +- Fix false positive in UnusedPrivateClass - [#2207](https://github.com/detekt/detekt/pull/2207) +- Update readme promoting new properties of the gradle plugin - [#2205](https://github.com/detekt/detekt/pull/2205) +- Rename default const containing _ACCEPTED_ - [#2204](https://github.com/detekt/detekt/pull/2204) +- Mistake From LongParameterList.kt - [#2202](https://github.com/detekt/detekt/issues/2202) +- Exclude yet unknown new build property - [#2201](https://github.com/detekt/detekt/pull/2201) +- Add comment regarding type resolution to README - [#2199](https://github.com/detekt/detekt/pull/2199) +- Type resolution doc - [#2198](https://github.com/detekt/detekt/pull/2198) +- Correct indentation for Groovy DSL doc - [#2197](https://github.com/detekt/detekt/pull/2197) +- Use shorthand syntax for assertThat() - [#2196](https://github.com/detekt/detekt/pull/2196) +- Refactor MagicNumber to use commaSeparatedPatterns - [#2195](https://github.com/detekt/detekt/pull/2195) +- Attach FILE_PATH_USER_DATA_KEY user data on FormattingRules (#1907) - [#2194](https://github.com/detekt/detekt/pull/2194) +- Handle invalid config exit code in gradle plugin - [#2193](https://github.com/detekt/detekt/pull/2193) +- Add tests showing how to exclude custom config properties in plugins - [#2192](https://github.com/detekt/detekt/pull/2192) +- Fix suppression of KtLint rules on file level - #2179 - [#2191](https://github.com/detekt/detekt/pull/2191) +- Mention needed kotlinx.html library from jcenter - #2146 - [#2190](https://github.com/detekt/detekt/pull/2190) +- UnusedPrivateClass has false positive behavior for deserialized items - [#2158](https://github.com/detekt/detekt/issues/2158) +- Use JDK 11 (LTS) + 13 for AppVeyor builds - [#2141](https://github.com/detekt/detekt/pull/2141) +- Document how to create a common baseline file for multi module gradle projects - [#2140](https://github.com/detekt/detekt/pull/2140) +- DetektAll with baseline fails with error - [#2100](https://github.com/detekt/detekt/issues/2100) +- ForbiddenMethod Rule - [#1954](https://github.com/detekt/detekt/pull/1954) +- Do not report auto-corrected formatting issues - [#1840](https://github.com/detekt/detekt/pull/1840) -See all issues at: [1.3.1](https://github.com/arturbosch/detekt/milestone/54) +See all issues at: [1.3.1](https://github.com/detekt/detekt/milestone/54) #### 1.3.0 @@ -492,26 +492,26 @@ See all issues at: [1.3.1](https://github.com/arturbosch/detekt/milestone/54) ##### Changelog -- Add printers to the command line runner - [#2188](https://github.com/arturbosch/detekt/pull/2188) -- Fix documentation of UseArrayLiteralsInAnnotations - [#2186](https://github.com/arturbosch/detekt/pull/2186) -- Inline resolving severity label for XML reports - [#2184](https://github.com/arturbosch/detekt/pull/2184) -- Extract common jvm target value, add jvmTarget into documentation. Cl… - [#2183](https://github.com/arturbosch/detekt/pull/2183) -- Fix Detekt gradle task cache restoration issue (#2180) - [#2182](https://github.com/arturbosch/detekt/pull/2182) -- Fix exception when running ArrayPrimitive on star-projected arrays - [#2181](https://github.com/arturbosch/detekt/pull/2181) -- Gradle cache restoration issue - [#2180](https://github.com/arturbosch/detekt/issues/2180) -- Add MacOS JDK13 build job to TravisCI - [#2177](https://github.com/arturbosch/detekt/pull/2177) -- Running "ArrayPrimitive" rule on "Array<*>" causes detekt to throw exception - [#2176](https://github.com/arturbosch/detekt/issues/2176) -- Update Spek to v2.0.9 - [#2173](https://github.com/arturbosch/detekt/pull/2173) -- Create Rule: MapGetWithNotNullAssertionOperator - [#2171](https://github.com/arturbosch/detekt/pull/2171) -- EqualsAlwaysReturnsTrueOrFalse fails hard on `override fun equals(other:Any) = ...` - [#2167](https://github.com/arturbosch/detekt/issues/2167) -- Prepare 1.3.0 release - [#2165](https://github.com/arturbosch/detekt/pull/2165) -- UnsafeCast: update documentation to match new behavior - [#2164](https://github.com/arturbosch/detekt/pull/2164) -- Add jvmTarget change into documentation - [#2157](https://github.com/arturbosch/detekt/issues/2157) -- Create UnnecessaryAnnotationUseSiteTargetRule - [#2099](https://github.com/arturbosch/detekt/pull/2099) -- Gradle 6 - [#1902](https://github.com/arturbosch/detekt/pull/1902) -- Gradle 6 planning - [#1820](https://github.com/arturbosch/detekt/issues/1820) +- Add printers to the command line runner - [#2188](https://github.com/detekt/detekt/pull/2188) +- Fix documentation of UseArrayLiteralsInAnnotations - [#2186](https://github.com/detekt/detekt/pull/2186) +- Inline resolving severity label for XML reports - [#2184](https://github.com/detekt/detekt/pull/2184) +- Extract common jvm target value, add jvmTarget into documentation. Cl… - [#2183](https://github.com/detekt/detekt/pull/2183) +- Fix Detekt gradle task cache restoration issue (#2180) - [#2182](https://github.com/detekt/detekt/pull/2182) +- Fix exception when running ArrayPrimitive on star-projected arrays - [#2181](https://github.com/detekt/detekt/pull/2181) +- Gradle cache restoration issue - [#2180](https://github.com/detekt/detekt/issues/2180) +- Add MacOS JDK13 build job to TravisCI - [#2177](https://github.com/detekt/detekt/pull/2177) +- Running "ArrayPrimitive" rule on "Array<*>" causes detekt to throw exception - [#2176](https://github.com/detekt/detekt/issues/2176) +- Update Spek to v2.0.9 - [#2173](https://github.com/detekt/detekt/pull/2173) +- Create Rule: MapGetWithNotNullAssertionOperator - [#2171](https://github.com/detekt/detekt/pull/2171) +- EqualsAlwaysReturnsTrueOrFalse fails hard on `override fun equals(other:Any) = ...` - [#2167](https://github.com/detekt/detekt/issues/2167) +- Prepare 1.3.0 release - [#2165](https://github.com/detekt/detekt/pull/2165) +- UnsafeCast: update documentation to match new behavior - [#2164](https://github.com/detekt/detekt/pull/2164) +- Add jvmTarget change into documentation - [#2157](https://github.com/detekt/detekt/issues/2157) +- Create UnnecessaryAnnotationUseSiteTargetRule - [#2099](https://github.com/detekt/detekt/pull/2099) +- Gradle 6 - [#1902](https://github.com/detekt/detekt/pull/1902) +- Gradle 6 planning - [#1820](https://github.com/detekt/detekt/issues/1820) -See all issues at: [1.3.0](https://github.com/arturbosch/detekt/milestone/51) +See all issues at: [1.3.0](https://github.com/detekt/detekt/milestone/51) #### 1.2.2 @@ -523,18 +523,18 @@ See all issues at: [1.3.0](https://github.com/arturbosch/detekt/milestone/51) ##### Changelog -- regression updating 1.2.0 to 1.2.1, unknown property 'filters' for object of type DetektExtension - [#2163](https://github.com/arturbosch/detekt/issues/2163) -- StringIndexOutOfBoundsException when generating HTML report - [#2160](https://github.com/arturbosch/detekt/pull/2160) -- Restore KotlinExtension - [#2159](https://github.com/arturbosch/detekt/pull/2159) -- 1.2.1 breaks the build with: unresolved reference: detekt - [#2152](https://github.com/arturbosch/detekt/issues/2152) -- Updated to correct classpath documentation for Android projects. - [#2149](https://github.com/arturbosch/detekt/pull/2149) -- Update to Kotlin v1.3.61 - [#2147](https://github.com/arturbosch/detekt/pull/2147) -- Document how to exclude detekt from the check task - #1894 - [#2144](https://github.com/arturbosch/detekt/pull/2144) -- Use JDK 11 (LTS) + 13 for Travis builds - [#2142](https://github.com/arturbosch/detekt/pull/2142) -- Don't compile test snippets (bindingContext) - [#2137](https://github.com/arturbosch/detekt/pull/2137) -- StringIndexOutOfBoundsException: String index out of range: 8 when generating HTML report after update to 1.2.0 - [#2134](https://github.com/arturbosch/detekt/issues/2134) +- regression updating 1.2.0 to 1.2.1, unknown property 'filters' for object of type DetektExtension - [#2163](https://github.com/detekt/detekt/issues/2163) +- StringIndexOutOfBoundsException when generating HTML report - [#2160](https://github.com/detekt/detekt/pull/2160) +- Restore KotlinExtension - [#2159](https://github.com/detekt/detekt/pull/2159) +- 1.2.1 breaks the build with: unresolved reference: detekt - [#2152](https://github.com/detekt/detekt/issues/2152) +- Updated to correct classpath documentation for Android projects. - [#2149](https://github.com/detekt/detekt/pull/2149) +- Update to Kotlin v1.3.61 - [#2147](https://github.com/detekt/detekt/pull/2147) +- Document how to exclude detekt from the check task - #1894 - [#2144](https://github.com/detekt/detekt/pull/2144) +- Use JDK 11 (LTS) + 13 for Travis builds - [#2142](https://github.com/detekt/detekt/pull/2142) +- Don't compile test snippets (bindingContext) - [#2137](https://github.com/detekt/detekt/pull/2137) +- StringIndexOutOfBoundsException: String index out of range: 8 when generating HTML report after update to 1.2.0 - [#2134](https://github.com/detekt/detekt/issues/2134) -See all issues at: [1.2.2](https://github.com/arturbosch/detekt/milestone/53) +See all issues at: [1.2.2](https://github.com/detekt/detekt/milestone/53) #### 1.2.1 @@ -546,30 +546,30 @@ See all issues at: [1.2.2](https://github.com/arturbosch/detekt/milestone/53) ##### Changelog -- Exception analyzing file - [#2139](https://github.com/arturbosch/detekt/issues/2139) -- Simplify ConstructorParameterNaming:ignoreOverridden check - [#2136](https://github.com/arturbosch/detekt/pull/2136) -- Test common config sections pass through config validation - [#2135](https://github.com/arturbosch/detekt/pull/2135) -- Kotlin 1.3.60 with fix for "Unable to load JNA library" warning - [#2129](https://github.com/arturbosch/detekt/pull/2129) -- Unexpected nested config for 'build>weights'. - [#2128](https://github.com/arturbosch/detekt/issues/2128) -- Remove redundant Javadoc - [#2127](https://github.com/arturbosch/detekt/pull/2127) -- Lazy init KotlinScriptEnginePool - [#2126](https://github.com/arturbosch/detekt/pull/2126) -- Add tests for MagicNumber:ignoreLocalVariableDeclaration - [#2125](https://github.com/arturbosch/detekt/pull/2125) -- Fix NPE for EqualsAlwaysReturnsTrueOrFalse - [#2124](https://github.com/arturbosch/detekt/pull/2124) -- Add MagicNumber:ignoreLocalVariableDeclaration config - [#2123](https://github.com/arturbosch/detekt/pull/2123) -- Fix MagicNumber:ignoreConstantDeclaration doc - [#2116](https://github.com/arturbosch/detekt/pull/2116) -- Return non-nullable string in DebtSumming class - [#2113](https://github.com/arturbosch/detekt/pull/2113) -- Refactor TrailingWhitespace test - [#2112](https://github.com/arturbosch/detekt/pull/2112) -- Use inline code snippets instead of case files - [#2111](https://github.com/arturbosch/detekt/pull/2111) -- UnusedImports: False positive if referenced in @throws/@exception/@sample - [#2106](https://github.com/arturbosch/detekt/pull/2106) -- Don't compile test snippets - [#2105](https://github.com/arturbosch/detekt/pull/2105) -- MemberNameEqualsClassName should ignore overridden property names too - [#2104](https://github.com/arturbosch/detekt/pull/2104) -- EqualsAlwaysReturnsTrueOrFalse crashes on certain input - [#2103](https://github.com/arturbosch/detekt/issues/2103) -- UnusedImports: False positive if referenced only in @throws/@exception clause - [#2098](https://github.com/arturbosch/detekt/issues/2098) -- Add config flag ignoreOverridden to ConstructorParameterNaming - [#2097](https://github.com/arturbosch/detekt/pull/2097) -- compileAndLint is 2.5 times slower than lint - [#2095](https://github.com/arturbosch/detekt/issues/2095) -- Improve naming tests - [#2094](https://github.com/arturbosch/detekt/pull/2094) +- Exception analyzing file - [#2139](https://github.com/detekt/detekt/issues/2139) +- Simplify ConstructorParameterNaming:ignoreOverridden check - [#2136](https://github.com/detekt/detekt/pull/2136) +- Test common config sections pass through config validation - [#2135](https://github.com/detekt/detekt/pull/2135) +- Kotlin 1.3.60 with fix for "Unable to load JNA library" warning - [#2129](https://github.com/detekt/detekt/pull/2129) +- Unexpected nested config for 'build>weights'. - [#2128](https://github.com/detekt/detekt/issues/2128) +- Remove redundant Javadoc - [#2127](https://github.com/detekt/detekt/pull/2127) +- Lazy init KotlinScriptEnginePool - [#2126](https://github.com/detekt/detekt/pull/2126) +- Add tests for MagicNumber:ignoreLocalVariableDeclaration - [#2125](https://github.com/detekt/detekt/pull/2125) +- Fix NPE for EqualsAlwaysReturnsTrueOrFalse - [#2124](https://github.com/detekt/detekt/pull/2124) +- Add MagicNumber:ignoreLocalVariableDeclaration config - [#2123](https://github.com/detekt/detekt/pull/2123) +- Fix MagicNumber:ignoreConstantDeclaration doc - [#2116](https://github.com/detekt/detekt/pull/2116) +- Return non-nullable string in DebtSumming class - [#2113](https://github.com/detekt/detekt/pull/2113) +- Refactor TrailingWhitespace test - [#2112](https://github.com/detekt/detekt/pull/2112) +- Use inline code snippets instead of case files - [#2111](https://github.com/detekt/detekt/pull/2111) +- UnusedImports: False positive if referenced in @throws/@exception/@sample - [#2106](https://github.com/detekt/detekt/pull/2106) +- Don't compile test snippets - [#2105](https://github.com/detekt/detekt/pull/2105) +- MemberNameEqualsClassName should ignore overridden property names too - [#2104](https://github.com/detekt/detekt/pull/2104) +- EqualsAlwaysReturnsTrueOrFalse crashes on certain input - [#2103](https://github.com/detekt/detekt/issues/2103) +- UnusedImports: False positive if referenced only in @throws/@exception clause - [#2098](https://github.com/detekt/detekt/issues/2098) +- Add config flag ignoreOverridden to ConstructorParameterNaming - [#2097](https://github.com/detekt/detekt/pull/2097) +- compileAndLint is 2.5 times slower than lint - [#2095](https://github.com/detekt/detekt/issues/2095) +- Improve naming tests - [#2094](https://github.com/detekt/detekt/pull/2094) -See all issues at: [1.2.1](https://github.com/arturbosch/detekt/milestone/52) +See all issues at: [1.2.1](https://github.com/detekt/detekt/milestone/52) #### 1.2.0 @@ -590,151 +590,151 @@ This change lead to increasing the threshold to 15 (was ten). ##### Changelog -- Update to Kotlin v1.3.60 - [#2109](https://github.com/arturbosch/detekt/pull/2109) -- UnusedPrivateClass: Fix false positive with private annotations - [#2108](https://github.com/arturbosch/detekt/pull/2108) -- Refactor ComplexMethod - [#2090](https://github.com/arturbosch/detekt/pull/2090) -- Fix NestedBlockDepth false negative - [#2086](https://github.com/arturbosch/detekt/pull/2086) -- NestedBlockDepth false negative - [#2085](https://github.com/arturbosch/detekt/issues/2085) -- Deprecate Location.locationString - [#2084](https://github.com/arturbosch/detekt/pull/2084) -- Add license badge to README - [#2080](https://github.com/arturbosch/detekt/pull/2080) -- Deploy SNAPSHOTs automatically - [#2079](https://github.com/arturbosch/detekt/pull/2079) -- Fix TrailingWhitespace reported position - [#2078](https://github.com/arturbosch/detekt/pull/2078) -- Activate more rules by default - #1911 - [#2075](https://github.com/arturbosch/detekt/pull/2075) -- Report InvalidRange for empty until range - [#2074](https://github.com/arturbosch/detekt/pull/2074) -- Deprecate properties on Entity - Closes #2014 - [#2072](https://github.com/arturbosch/detekt/pull/2072) -- Add complexity report to html output - [#2071](https://github.com/arturbosch/detekt/pull/2071) -- Use constants for config keys in tests - [#2070](https://github.com/arturbosch/detekt/pull/2070) -- Mention location adjustment in rules for 1.2.0 - [#2068](https://github.com/arturbosch/detekt/issues/2068) -- Improve text location: TooManyFunctions - [#2065](https://github.com/arturbosch/detekt/pull/2065) -- Improve text location: OptionalAbstractKeyword - [#2064](https://github.com/arturbosch/detekt/pull/2064) -- Improve text location: NestedBlockDepth - [#2063](https://github.com/arturbosch/detekt/pull/2063) -- Improve text location: MatchingDeclarationName - [#2062](https://github.com/arturbosch/detekt/pull/2062) -- Improve text location: LongMethod - [#2061](https://github.com/arturbosch/detekt/pull/2061) -- Improve text location: LargeClass - [#2060](https://github.com/arturbosch/detekt/pull/2060) -- Improve text location: ComplexMethod - [#2059](https://github.com/arturbosch/detekt/pull/2059) -- Improve text location: EmptyClassBlock - [#2058](https://github.com/arturbosch/detekt/pull/2058) -- Replace spek test hasSize(0) with isEmpty() - [#2057](https://github.com/arturbosch/detekt/pull/2057) -- Remove MacOS JDK11 CI run as discussed in #2015 - [#2056](https://github.com/arturbosch/detekt/pull/2056) -- Introduces mocking library 'mockk' - [#2055](https://github.com/arturbosch/detekt/pull/2055) -- Improve text location: InvalidPackageDeclaration - [#2052](https://github.com/arturbosch/detekt/pull/2052) -- Improve text location: MandatoryBracesIfStatements - [#2051](https://github.com/arturbosch/detekt/pull/2051) -- Improve text location: ClassNaming - [#2050](https://github.com/arturbosch/detekt/pull/2050) -- potential-bugs InvalidRange does not work in all cases - [#2044](https://github.com/arturbosch/detekt/issues/2044) -- Don't checkBuildFailureThreshold if we are creating the baseline - [#2034](https://github.com/arturbosch/detekt/pull/2034) -- gradle detektBaseline task fails - [#2033](https://github.com/arturbosch/detekt/issues/2033) -- Fix #2021 - [#2032](https://github.com/arturbosch/detekt/pull/2032) -- Update dependencies - [#2031](https://github.com/arturbosch/detekt/pull/2031) -- Dokka fix - [#2030](https://github.com/arturbosch/detekt/pull/2030) -- Simplify and refactor RuleProviderTest - [#2029](https://github.com/arturbosch/detekt/pull/2029) -- Simplify MultiRuleCollector test cases - [#2028](https://github.com/arturbosch/detekt/pull/2028) -- Dont check WrongEqualsTypeParameter if the function is topLevel - [#2027](https://github.com/arturbosch/detekt/pull/2027) -- Fix false positive at EmptyIfBlock - [#2026](https://github.com/arturbosch/detekt/pull/2026) -- Support guard clause exclusion for ThrowsCount rule - [#2025](https://github.com/arturbosch/detekt/pull/2025) -- Add ImplicitDefaultLocale rule - [#2024](https://github.com/arturbosch/detekt/pull/2024) -- Use double backtick for the in-line code - [#2022](https://github.com/arturbosch/detekt/pull/2022) -- EqualsAlwaysReturnsTrueOrFalse: The original exception message was: java.util.NoSuchElementException: Array is empty. - [#2021](https://github.com/arturbosch/detekt/issues/2021) -- Ignore sealed classes for utility class having public constructor rule - [#2016](https://github.com/arturbosch/detekt/pull/2016) -- Better handling for the Suppresion of errors - [#2013](https://github.com/arturbosch/detekt/pull/2013) -- Fix description of NoLineBreakBeforeAssignment - [#2011](https://github.com/arturbosch/detekt/pull/2011) -- Copy paste error in message in NoLineBreakBeforeAssignment.kt - [#2008](https://github.com/arturbosch/detekt/issues/2008) -- UtilityClassWithPublicConstructor should not be reported for sealed classes - [#2005](https://github.com/arturbosch/detekt/issues/2005) -- Validate yaml configurations by comparing their structure - #516 - [#1998](https://github.com/arturbosch/detekt/pull/1998) -- Allow the user to collapse the rules in the html report - [#1997](https://github.com/arturbosch/detekt/pull/1997) -- Allow detekt findings to be suppessed with rule set id - Closes #766 - [#1994](https://github.com/arturbosch/detekt/pull/1994) -- Upgrade Spek to v2.0.8 - [#1992](https://github.com/arturbosch/detekt/pull/1992) -- Reimplement parallelism internal logic - [#1991](https://github.com/arturbosch/detekt/pull/1991) -- Findings assertions - [#1978](https://github.com/arturbosch/detekt/pull/1978) -- Fix EnumNaming textLocation - [#1977](https://github.com/arturbosch/detekt/pull/1977) -- Add snippet code in html report - [#1975](https://github.com/arturbosch/detekt/pull/1975) -- Change reported element in 2 documentation rules - [#1952](https://github.com/arturbosch/detekt/pull/1952) -- Enable more rules in failfast - [#1935](https://github.com/arturbosch/detekt/pull/1935) -- Add UndocumentedPublicProperty rule - closes #1670 - [#1923](https://github.com/arturbosch/detekt/pull/1923) -- Calculate MCC (McCabe Complexity) accordingly - [#1921](https://github.com/arturbosch/detekt/issues/1921) -- UseDataClass conflicts with DataClassShouldBeImmutable - [#1920](https://github.com/arturbosch/detekt/issues/1920) -- Redesign "parallel" flag/property - [#1845](https://github.com/arturbosch/detekt/issues/1845) -- SNAPSHOT process feedback - [#1826](https://github.com/arturbosch/detekt/issues/1826) -- Initial MCC change - [#1793](https://github.com/arturbosch/detekt/pull/1793) -- @Suppress("Detekt.ruleset") feature - [#766](https://github.com/arturbosch/detekt/issues/766) -- Validate Configuration file before using it - [#516](https://github.com/arturbosch/detekt/issues/516) +- Update to Kotlin v1.3.60 - [#2109](https://github.com/detekt/detekt/pull/2109) +- UnusedPrivateClass: Fix false positive with private annotations - [#2108](https://github.com/detekt/detekt/pull/2108) +- Refactor ComplexMethod - [#2090](https://github.com/detekt/detekt/pull/2090) +- Fix NestedBlockDepth false negative - [#2086](https://github.com/detekt/detekt/pull/2086) +- NestedBlockDepth false negative - [#2085](https://github.com/detekt/detekt/issues/2085) +- Deprecate Location.locationString - [#2084](https://github.com/detekt/detekt/pull/2084) +- Add license badge to README - [#2080](https://github.com/detekt/detekt/pull/2080) +- Deploy SNAPSHOTs automatically - [#2079](https://github.com/detekt/detekt/pull/2079) +- Fix TrailingWhitespace reported position - [#2078](https://github.com/detekt/detekt/pull/2078) +- Activate more rules by default - #1911 - [#2075](https://github.com/detekt/detekt/pull/2075) +- Report InvalidRange for empty until range - [#2074](https://github.com/detekt/detekt/pull/2074) +- Deprecate properties on Entity - Closes #2014 - [#2072](https://github.com/detekt/detekt/pull/2072) +- Add complexity report to html output - [#2071](https://github.com/detekt/detekt/pull/2071) +- Use constants for config keys in tests - [#2070](https://github.com/detekt/detekt/pull/2070) +- Mention location adjustment in rules for 1.2.0 - [#2068](https://github.com/detekt/detekt/issues/2068) +- Improve text location: TooManyFunctions - [#2065](https://github.com/detekt/detekt/pull/2065) +- Improve text location: OptionalAbstractKeyword - [#2064](https://github.com/detekt/detekt/pull/2064) +- Improve text location: NestedBlockDepth - [#2063](https://github.com/detekt/detekt/pull/2063) +- Improve text location: MatchingDeclarationName - [#2062](https://github.com/detekt/detekt/pull/2062) +- Improve text location: LongMethod - [#2061](https://github.com/detekt/detekt/pull/2061) +- Improve text location: LargeClass - [#2060](https://github.com/detekt/detekt/pull/2060) +- Improve text location: ComplexMethod - [#2059](https://github.com/detekt/detekt/pull/2059) +- Improve text location: EmptyClassBlock - [#2058](https://github.com/detekt/detekt/pull/2058) +- Replace spek test hasSize(0) with isEmpty() - [#2057](https://github.com/detekt/detekt/pull/2057) +- Remove MacOS JDK11 CI run as discussed in #2015 - [#2056](https://github.com/detekt/detekt/pull/2056) +- Introduces mocking library 'mockk' - [#2055](https://github.com/detekt/detekt/pull/2055) +- Improve text location: InvalidPackageDeclaration - [#2052](https://github.com/detekt/detekt/pull/2052) +- Improve text location: MandatoryBracesIfStatements - [#2051](https://github.com/detekt/detekt/pull/2051) +- Improve text location: ClassNaming - [#2050](https://github.com/detekt/detekt/pull/2050) +- potential-bugs InvalidRange does not work in all cases - [#2044](https://github.com/detekt/detekt/issues/2044) +- Don't checkBuildFailureThreshold if we are creating the baseline - [#2034](https://github.com/detekt/detekt/pull/2034) +- gradle detektBaseline task fails - [#2033](https://github.com/detekt/detekt/issues/2033) +- Fix #2021 - [#2032](https://github.com/detekt/detekt/pull/2032) +- Update dependencies - [#2031](https://github.com/detekt/detekt/pull/2031) +- Dokka fix - [#2030](https://github.com/detekt/detekt/pull/2030) +- Simplify and refactor RuleProviderTest - [#2029](https://github.com/detekt/detekt/pull/2029) +- Simplify MultiRuleCollector test cases - [#2028](https://github.com/detekt/detekt/pull/2028) +- Dont check WrongEqualsTypeParameter if the function is topLevel - [#2027](https://github.com/detekt/detekt/pull/2027) +- Fix false positive at EmptyIfBlock - [#2026](https://github.com/detekt/detekt/pull/2026) +- Support guard clause exclusion for ThrowsCount rule - [#2025](https://github.com/detekt/detekt/pull/2025) +- Add ImplicitDefaultLocale rule - [#2024](https://github.com/detekt/detekt/pull/2024) +- Use double backtick for the in-line code - [#2022](https://github.com/detekt/detekt/pull/2022) +- EqualsAlwaysReturnsTrueOrFalse: The original exception message was: java.util.NoSuchElementException: Array is empty. - [#2021](https://github.com/detekt/detekt/issues/2021) +- Ignore sealed classes for utility class having public constructor rule - [#2016](https://github.com/detekt/detekt/pull/2016) +- Better handling for the Suppresion of errors - [#2013](https://github.com/detekt/detekt/pull/2013) +- Fix description of NoLineBreakBeforeAssignment - [#2011](https://github.com/detekt/detekt/pull/2011) +- Copy paste error in message in NoLineBreakBeforeAssignment.kt - [#2008](https://github.com/detekt/detekt/issues/2008) +- UtilityClassWithPublicConstructor should not be reported for sealed classes - [#2005](https://github.com/detekt/detekt/issues/2005) +- Validate yaml configurations by comparing their structure - #516 - [#1998](https://github.com/detekt/detekt/pull/1998) +- Allow the user to collapse the rules in the html report - [#1997](https://github.com/detekt/detekt/pull/1997) +- Allow detekt findings to be suppessed with rule set id - Closes #766 - [#1994](https://github.com/detekt/detekt/pull/1994) +- Upgrade Spek to v2.0.8 - [#1992](https://github.com/detekt/detekt/pull/1992) +- Reimplement parallelism internal logic - [#1991](https://github.com/detekt/detekt/pull/1991) +- Findings assertions - [#1978](https://github.com/detekt/detekt/pull/1978) +- Fix EnumNaming textLocation - [#1977](https://github.com/detekt/detekt/pull/1977) +- Add snippet code in html report - [#1975](https://github.com/detekt/detekt/pull/1975) +- Change reported element in 2 documentation rules - [#1952](https://github.com/detekt/detekt/pull/1952) +- Enable more rules in failfast - [#1935](https://github.com/detekt/detekt/pull/1935) +- Add UndocumentedPublicProperty rule - closes #1670 - [#1923](https://github.com/detekt/detekt/pull/1923) +- Calculate MCC (McCabe Complexity) accordingly - [#1921](https://github.com/detekt/detekt/issues/1921) +- UseDataClass conflicts with DataClassShouldBeImmutable - [#1920](https://github.com/detekt/detekt/issues/1920) +- Redesign "parallel" flag/property - [#1845](https://github.com/detekt/detekt/issues/1845) +- SNAPSHOT process feedback - [#1826](https://github.com/detekt/detekt/issues/1826) +- Initial MCC change - [#1793](https://github.com/detekt/detekt/pull/1793) +- @Suppress("Detekt.ruleset") feature - [#766](https://github.com/detekt/detekt/issues/766) +- Validate Configuration file before using it - [#516](https://github.com/detekt/detekt/issues/516) -See all issues at: [1.2.0](https://github.com/arturbosch/detekt/milestone/49) +See all issues at: [1.2.0](https://github.com/detekt/detekt/milestone/49) #### 1.1.1 ##### Changelog -- Improved test case for resolved #1971 (TrailingWhitespace and multiline string) - [#2003](https://github.com/arturbosch/detekt/pull/2003) -- Set defaults for boolean property when writing custom detekt tasks - [#1996](https://github.com/arturbosch/detekt/pull/1996) -- Generate PluginVersion.kt with newline at end - [#1993](https://github.com/arturbosch/detekt/pull/1993) -- Remove unnecessary logs from RuleProviderTest - [#1990](https://github.com/arturbosch/detekt/pull/1990) -- Use inline code snippets instead of case files - [#1989](https://github.com/arturbosch/detekt/pull/1989) -- Use config parameter for UseIfInsteadOfWhen rule - [#1987](https://github.com/arturbosch/detekt/pull/1987) -- Use inline code snippets instead of case files - [#1976](https://github.com/arturbosch/detekt/pull/1976) -- Don't flag trailing whitespaces in multiline strings - [#1971](https://github.com/arturbosch/detekt/pull/1971) +- Improved test case for resolved #1971 (TrailingWhitespace and multiline string) - [#2003](https://github.com/detekt/detekt/pull/2003) +- Set defaults for boolean property when writing custom detekt tasks - [#1996](https://github.com/detekt/detekt/pull/1996) +- Generate PluginVersion.kt with newline at end - [#1993](https://github.com/detekt/detekt/pull/1993) +- Remove unnecessary logs from RuleProviderTest - [#1990](https://github.com/detekt/detekt/pull/1990) +- Use inline code snippets instead of case files - [#1989](https://github.com/detekt/detekt/pull/1989) +- Use config parameter for UseIfInsteadOfWhen rule - [#1987](https://github.com/detekt/detekt/pull/1987) +- Use inline code snippets instead of case files - [#1976](https://github.com/detekt/detekt/pull/1976) +- Don't flag trailing whitespaces in multiline strings - [#1971](https://github.com/detekt/detekt/pull/1971) -See all issues at: [1.1.1](https://github.com/arturbosch/detekt/milestone/50) +See all issues at: [1.1.1](https://github.com/detekt/detekt/milestone/50) #### 1.1.0 ##### Changelog -- Clarify threshold pararameter meaning in docs - [#1974](https://github.com/arturbosch/detekt/pull/1974) -- Introduce ignoreLabeled config for ReturnFromFinally - [#1973](https://github.com/arturbosch/detekt/pull/1973) -- Ignore FunctionOnlyReturningConstant for allowed annotations - [#1968](https://github.com/arturbosch/detekt/pull/1968) -- Allow regex configuration support for Forbidden Import rule - [#1963](https://github.com/arturbosch/detekt/pull/1963) -- Refactor and simplify RuleCollectorSpec - [#1959](https://github.com/arturbosch/detekt/pull/1959) -- Use inline code snippets instead of case files - [#1958](https://github.com/arturbosch/detekt/pull/1958) -- Improve UnusedPrivateMember when it's related with parameters - [#1949](https://github.com/arturbosch/detekt/pull/1949) -- Fix SpacingBetweenPackageAndImports issue for scripts without packages - [#1947](https://github.com/arturbosch/detekt/pull/1947) -- Remove ConditionalPathVisitor - [#1944](https://github.com/arturbosch/detekt/pull/1944) -- Extend UseDataClass with the allowVars configuration property - [#1942](https://github.com/arturbosch/detekt/pull/1942) -- HasPlatformType rule - [#1938](https://github.com/arturbosch/detekt/pull/1938) -- Bogus SpacingBetweenPackageAndImports violation for KTS without package - [#1937](https://github.com/arturbosch/detekt/issues/1937) -- Gradle deprecations - [#1934](https://github.com/arturbosch/detekt/pull/1934) -- UnnecessaryParentheses should be ignored for bit operations - [#1929](https://github.com/arturbosch/detekt/issues/1929) -- Prepare 1.1.0 release - [#1919](https://github.com/arturbosch/detekt/pull/1919) -- Deprecate debug in IDEA tasks - [#1918](https://github.com/arturbosch/detekt/pull/1918) -- Refactoring: use more readable functions - [#1916](https://github.com/arturbosch/detekt/pull/1916) -- Don't fail on master when test coverage decreases - [#1914](https://github.com/arturbosch/detekt/pull/1914) -- Detect deprecations - [#1913](https://github.com/arturbosch/detekt/pull/1913) -- Fix typos - [#1908](https://github.com/arturbosch/detekt/pull/1908) -- Report PreferToOverPairSyntax only for kotlin.Pair - [#1905](https://github.com/arturbosch/detekt/pull/1905) -- Fix TimeoutCancellationException - downgrade Spek - [#1903](https://github.com/arturbosch/detekt/pull/1903) -- Update dependencies - [#1901](https://github.com/arturbosch/detekt/pull/1901) -- Add RedundantExplicitType rule - [#1900](https://github.com/arturbosch/detekt/pull/1900) -- Remove unused KtAnnotated util functions - [#1899](https://github.com/arturbosch/detekt/pull/1899) -- Simplify detekt rules - [#1898](https://github.com/arturbosch/detekt/pull/1898) -- Fix shared variable in detekt-extension rules - [#1897](https://github.com/arturbosch/detekt/pull/1897) -- Make samples more idiomatic - [#1895](https://github.com/arturbosch/detekt/pull/1895) -- Update detekt extensions doc - [#1893](https://github.com/arturbosch/detekt/pull/1893) -- Clarify `WildcardImport` rule configuration - [#1888](https://github.com/arturbosch/detekt/pull/1888) -- Add configuration to allow patterns for forbidden comment - [#1887](https://github.com/arturbosch/detekt/pull/1887) -- Only report UnsafeCallOnNullableType on actual nullable types - [#1886](https://github.com/arturbosch/detekt/pull/1886) -- Minimise usage of Kotlin reflection - [#1883](https://github.com/arturbosch/detekt/pull/1883) -- Refactor KotlinCoreEnvironment test setup - [#1880](https://github.com/arturbosch/detekt/pull/1880) -- Trust Kotlin compiler to identify unsafe casts - [#1879](https://github.com/arturbosch/detekt/pull/1879) -- Replace tabs with spaces in rule KDoc - [#1876](https://github.com/arturbosch/detekt/pull/1876) -- Make all Gradle tasks cacheable - [#1875](https://github.com/arturbosch/detekt/pull/1875) -- Indentation for compliant and non-compliant code examples is missing - [#1871](https://github.com/arturbosch/detekt/issues/1871) -- Don't build twice when PR created from branch - [#1866](https://github.com/arturbosch/detekt/pull/1866) -- Print rendered report if it's null or blank - [#1862](https://github.com/arturbosch/detekt/pull/1862) -- Silence report if containing no findings - [#1860](https://github.com/arturbosch/detekt/pull/1860) -- Group console violation reports by file - [#1852](https://github.com/arturbosch/detekt/pull/1852) -- Update Kotlin to v1.3.50 - [#1841](https://github.com/arturbosch/detekt/pull/1841) -- Gradle 5.6 - [#1833](https://github.com/arturbosch/detekt/pull/1833) -- Implement rule to suggest array literal instead of arrayOf-expression in annotations - [#1823](https://github.com/arturbosch/detekt/pull/1823) -- Make UnsafeCast less aggressive - [#1601](https://github.com/arturbosch/detekt/issues/1601) -- Consider publishing artifacts to mavenCentral instead of jCenter - [#1396](https://github.com/arturbosch/detekt/issues/1396) -- false positive unnecessary parentheses in conjunction with lambdas - [#1222](https://github.com/arturbosch/detekt/issues/1222) -- False positives on UnsafeCast on AppVeyor (Windows?) only - [#1137](https://github.com/arturbosch/detekt/issues/1137) -- PreferToOverPairSyntax false positive - [#1066](https://github.com/arturbosch/detekt/issues/1066) -- Rule ForbiddenComment - regexp support - [#959](https://github.com/arturbosch/detekt/issues/959) -- UnsafeCallOnNullableType should not be reported for platform types - [#880](https://github.com/arturbosch/detekt/issues/880) -- Exclusion patterns in detekt-config - [#775](https://github.com/arturbosch/detekt/issues/775) -- Rule: OptionalTypeDeclaration - [#336](https://github.com/arturbosch/detekt/issues/336) -- Check if it is feasible to integrate ktlint as a rule set - [#38](https://github.com/arturbosch/detekt/issues/38) +- Clarify threshold pararameter meaning in docs - [#1974](https://github.com/detekt/detekt/pull/1974) +- Introduce ignoreLabeled config for ReturnFromFinally - [#1973](https://github.com/detekt/detekt/pull/1973) +- Ignore FunctionOnlyReturningConstant for allowed annotations - [#1968](https://github.com/detekt/detekt/pull/1968) +- Allow regex configuration support for Forbidden Import rule - [#1963](https://github.com/detekt/detekt/pull/1963) +- Refactor and simplify RuleCollectorSpec - [#1959](https://github.com/detekt/detekt/pull/1959) +- Use inline code snippets instead of case files - [#1958](https://github.com/detekt/detekt/pull/1958) +- Improve UnusedPrivateMember when it's related with parameters - [#1949](https://github.com/detekt/detekt/pull/1949) +- Fix SpacingBetweenPackageAndImports issue for scripts without packages - [#1947](https://github.com/detekt/detekt/pull/1947) +- Remove ConditionalPathVisitor - [#1944](https://github.com/detekt/detekt/pull/1944) +- Extend UseDataClass with the allowVars configuration property - [#1942](https://github.com/detekt/detekt/pull/1942) +- HasPlatformType rule - [#1938](https://github.com/detekt/detekt/pull/1938) +- Bogus SpacingBetweenPackageAndImports violation for KTS without package - [#1937](https://github.com/detekt/detekt/issues/1937) +- Gradle deprecations - [#1934](https://github.com/detekt/detekt/pull/1934) +- UnnecessaryParentheses should be ignored for bit operations - [#1929](https://github.com/detekt/detekt/issues/1929) +- Prepare 1.1.0 release - [#1919](https://github.com/detekt/detekt/pull/1919) +- Deprecate debug in IDEA tasks - [#1918](https://github.com/detekt/detekt/pull/1918) +- Refactoring: use more readable functions - [#1916](https://github.com/detekt/detekt/pull/1916) +- Don't fail on master when test coverage decreases - [#1914](https://github.com/detekt/detekt/pull/1914) +- Detect deprecations - [#1913](https://github.com/detekt/detekt/pull/1913) +- Fix typos - [#1908](https://github.com/detekt/detekt/pull/1908) +- Report PreferToOverPairSyntax only for kotlin.Pair - [#1905](https://github.com/detekt/detekt/pull/1905) +- Fix TimeoutCancellationException - downgrade Spek - [#1903](https://github.com/detekt/detekt/pull/1903) +- Update dependencies - [#1901](https://github.com/detekt/detekt/pull/1901) +- Add RedundantExplicitType rule - [#1900](https://github.com/detekt/detekt/pull/1900) +- Remove unused KtAnnotated util functions - [#1899](https://github.com/detekt/detekt/pull/1899) +- Simplify detekt rules - [#1898](https://github.com/detekt/detekt/pull/1898) +- Fix shared variable in detekt-extension rules - [#1897](https://github.com/detekt/detekt/pull/1897) +- Make samples more idiomatic - [#1895](https://github.com/detekt/detekt/pull/1895) +- Update detekt extensions doc - [#1893](https://github.com/detekt/detekt/pull/1893) +- Clarify `WildcardImport` rule configuration - [#1888](https://github.com/detekt/detekt/pull/1888) +- Add configuration to allow patterns for forbidden comment - [#1887](https://github.com/detekt/detekt/pull/1887) +- Only report UnsafeCallOnNullableType on actual nullable types - [#1886](https://github.com/detekt/detekt/pull/1886) +- Minimise usage of Kotlin reflection - [#1883](https://github.com/detekt/detekt/pull/1883) +- Refactor KotlinCoreEnvironment test setup - [#1880](https://github.com/detekt/detekt/pull/1880) +- Trust Kotlin compiler to identify unsafe casts - [#1879](https://github.com/detekt/detekt/pull/1879) +- Replace tabs with spaces in rule KDoc - [#1876](https://github.com/detekt/detekt/pull/1876) +- Make all Gradle tasks cacheable - [#1875](https://github.com/detekt/detekt/pull/1875) +- Indentation for compliant and non-compliant code examples is missing - [#1871](https://github.com/detekt/detekt/issues/1871) +- Don't build twice when PR created from branch - [#1866](https://github.com/detekt/detekt/pull/1866) +- Print rendered report if it's null or blank - [#1862](https://github.com/detekt/detekt/pull/1862) +- Silence report if containing no findings - [#1860](https://github.com/detekt/detekt/pull/1860) +- Group console violation reports by file - [#1852](https://github.com/detekt/detekt/pull/1852) +- Update Kotlin to v1.3.50 - [#1841](https://github.com/detekt/detekt/pull/1841) +- Gradle 5.6 - [#1833](https://github.com/detekt/detekt/pull/1833) +- Implement rule to suggest array literal instead of arrayOf-expression in annotations - [#1823](https://github.com/detekt/detekt/pull/1823) +- Make UnsafeCast less aggressive - [#1601](https://github.com/detekt/detekt/issues/1601) +- Consider publishing artifacts to mavenCentral instead of jCenter - [#1396](https://github.com/detekt/detekt/issues/1396) +- false positive unnecessary parentheses in conjunction with lambdas - [#1222](https://github.com/detekt/detekt/issues/1222) +- False positives on UnsafeCast on AppVeyor (Windows?) only - [#1137](https://github.com/detekt/detekt/issues/1137) +- PreferToOverPairSyntax false positive - [#1066](https://github.com/detekt/detekt/issues/1066) +- Rule ForbiddenComment - regexp support - [#959](https://github.com/detekt/detekt/issues/959) +- UnsafeCallOnNullableType should not be reported for platform types - [#880](https://github.com/detekt/detekt/issues/880) +- Exclusion patterns in detekt-config - [#775](https://github.com/detekt/detekt/issues/775) +- Rule: OptionalTypeDeclaration - [#336](https://github.com/detekt/detekt/issues/336) +- Check if it is feasible to integrate ktlint as a rule set - [#38](https://github.com/detekt/detekt/issues/38) -See all issues at: [1.1.0](https://github.com/arturbosch/detekt/milestone/19) +See all issues at: [1.1.0](https://github.com/detekt/detekt/milestone/19) #### 1.0.1 @@ -745,23 +745,23 @@ See all issues at: [1.1.0](https://github.com/arturbosch/detekt/milestone/19) ##### Changelog -- Migrate SafeCast test cases to JSR223 - [#1832](https://github.com/arturbosch/detekt/pull/1832) -- Remove unused case entries - [#1831](https://github.com/arturbosch/detekt/pull/1831) -- Migrate ComplexInterface test cases to JSR223 - [#1830](https://github.com/arturbosch/detekt/pull/1830) -- Remove from maventask.md - [#1827](https://github.com/arturbosch/detekt/pull/1827) -- Update maven-task --excludes arg - [#1825](https://github.com/arturbosch/detekt/pull/1825) -- Improve grammar on 1.0 release post - [#1822](https://github.com/arturbosch/detekt/pull/1822) -- Write guide on how to make detekt silent - [#1819](https://github.com/arturbosch/detekt/pull/1819) -- Use notifications instead of println - [#1818](https://github.com/arturbosch/detekt/pull/1818) -- JCommander 1.78 - [#1817](https://github.com/arturbosch/detekt/pull/1817) -- Fix typo in spelling of --auto-correct flag - [#1816](https://github.com/arturbosch/detekt/pull/1816) -- Update dependency versions - [#1815](https://github.com/arturbosch/detekt/pull/1815) -- Tidy the build files - [#1814](https://github.com/arturbosch/detekt/pull/1814) -- Downgrade to jcommander v1.72 - [#1809](https://github.com/arturbosch/detekt/pull/1809) -- Update docs to mention test-pattern deprecation - [#1808](https://github.com/arturbosch/detekt/pull/1808) -- Quiet mode or ability to disable all output in Gradle - [#1797](https://github.com/arturbosch/detekt/issues/1797) +- Migrate SafeCast test cases to JSR223 - [#1832](https://github.com/detekt/detekt/pull/1832) +- Remove unused case entries - [#1831](https://github.com/detekt/detekt/pull/1831) +- Migrate ComplexInterface test cases to JSR223 - [#1830](https://github.com/detekt/detekt/pull/1830) +- Remove from maventask.md - [#1827](https://github.com/detekt/detekt/pull/1827) +- Update maven-task --excludes arg - [#1825](https://github.com/detekt/detekt/pull/1825) +- Improve grammar on 1.0 release post - [#1822](https://github.com/detekt/detekt/pull/1822) +- Write guide on how to make detekt silent - [#1819](https://github.com/detekt/detekt/pull/1819) +- Use notifications instead of println - [#1818](https://github.com/detekt/detekt/pull/1818) +- JCommander 1.78 - [#1817](https://github.com/detekt/detekt/pull/1817) +- Fix typo in spelling of --auto-correct flag - [#1816](https://github.com/detekt/detekt/pull/1816) +- Update dependency versions - [#1815](https://github.com/detekt/detekt/pull/1815) +- Tidy the build files - [#1814](https://github.com/detekt/detekt/pull/1814) +- Downgrade to jcommander v1.72 - [#1809](https://github.com/detekt/detekt/pull/1809) +- Update docs to mention test-pattern deprecation - [#1808](https://github.com/detekt/detekt/pull/1808) +- Quiet mode or ability to disable all output in Gradle - [#1797](https://github.com/detekt/detekt/issues/1797) -See all issues at: [1.0.1](https://github.com/arturbosch/detekt/milestone/47) +See all issues at: [1.0.1](https://github.com/detekt/detekt/milestone/47) #### 1.0.0 @@ -774,38 +774,38 @@ See all issues at: [1.0.1](https://github.com/arturbosch/detekt/milestone/47) ##### Changelog -- Gradle plugin: Set default path for "config" parameter - [#1801](https://github.com/arturbosch/detekt/pull/1801) -- Don't use provider value that may not have been set - [#1800](https://github.com/arturbosch/detekt/pull/1800) -- Remove raw URLs from README - [#1799](https://github.com/arturbosch/detekt/pull/1799) -- Add missing autoCorrect declarations - [#1798](https://github.com/arturbosch/detekt/pull/1798) -- Docs: Missing autoCorrect option for various rules - [#1796](https://github.com/arturbosch/detekt/issues/1796) -- Update to KtLint 0.34.2 - [#1791](https://github.com/arturbosch/detekt/pull/1791) -- Add auto correct flag to detekt extension - [#1790](https://github.com/arturbosch/detekt/pull/1790) -- Gradle plugin: Fix visibility of internal properties - [#1789](https://github.com/arturbosch/detekt/pull/1789) -- Check classes and functions documented for api module - [#1788](https://github.com/arturbosch/detekt/pull/1788) -- Provide default value for ignoreFailures - [#1787](https://github.com/arturbosch/detekt/pull/1787) -- Update detekt-api documentation - [#1786](https://github.com/arturbosch/detekt/pull/1786) -- Document meanings of rule severity levels - [#1785](https://github.com/arturbosch/detekt/pull/1785) -- Remove unused code - [#1784](https://github.com/arturbosch/detekt/pull/1784) -- Fix UseDataClass false positive (delegation) - [#1783](https://github.com/arturbosch/detekt/pull/1783) -- Add ignore pattern to SwallowedException - [#1782](https://github.com/arturbosch/detekt/pull/1782) -- Prevent adding author tags in code - [#1776](https://github.com/arturbosch/detekt/pull/1776) -- Remove xml report consolidation. - [#1774](https://github.com/arturbosch/detekt/pull/1774) -- Update Complex Method doc - closes #1009 - [#1773](https://github.com/arturbosch/detekt/pull/1773) -- Implement dry-run option for detekt gradle tasks. - [#1769](https://github.com/arturbosch/detekt/pull/1769) -- Fix missing report file issue. - [#1767](https://github.com/arturbosch/detekt/pull/1767) -- Not running formatting autocorrect - [#1766](https://github.com/arturbosch/detekt/issues/1766) -- Check if file exists before considering it for report merges - [#1763](https://github.com/arturbosch/detekt/pull/1763) -- Preset ignoreFailures property with false as it is also used by Gradle - [#1762](https://github.com/arturbosch/detekt/pull/1762) -- Rearrange badges, add codefactor - [#1760](https://github.com/arturbosch/detekt/pull/1760) -- Update Kotlin to 1.3.41 - [#1759](https://github.com/arturbosch/detekt/pull/1759) -- Update EmptyClassBlock to skip classes with comments in the body - [#1758](https://github.com/arturbosch/detekt/pull/1758) -- EmptyClassBlock should consider comment as "body" (via option?) - [#1756](https://github.com/arturbosch/detekt/issues/1756) -- Remove obsolete NoWildcardImports autoCorrect param - [#1751](https://github.com/arturbosch/detekt/pull/1751) -- Kotlin language version handling - [#1748](https://github.com/arturbosch/detekt/pull/1748) -- Fix cli execution doc - [#1747](https://github.com/arturbosch/detekt/pull/1747) -- Add naming test for ForbiddenVoid rule - [#1740](https://github.com/arturbosch/detekt/pull/1740) -- ForbiddenVoid: New option 'ignoreUsageInGenerics' - [#1738](https://github.com/arturbosch/detekt/pull/1738) -- Default Gradle config path should be config/detekt/config.yml - [#1262](https://github.com/arturbosch/detekt/issues/1262) +- Gradle plugin: Set default path for "config" parameter - [#1801](https://github.com/detekt/detekt/pull/1801) +- Don't use provider value that may not have been set - [#1800](https://github.com/detekt/detekt/pull/1800) +- Remove raw URLs from README - [#1799](https://github.com/detekt/detekt/pull/1799) +- Add missing autoCorrect declarations - [#1798](https://github.com/detekt/detekt/pull/1798) +- Docs: Missing autoCorrect option for various rules - [#1796](https://github.com/detekt/detekt/issues/1796) +- Update to KtLint 0.34.2 - [#1791](https://github.com/detekt/detekt/pull/1791) +- Add auto correct flag to detekt extension - [#1790](https://github.com/detekt/detekt/pull/1790) +- Gradle plugin: Fix visibility of internal properties - [#1789](https://github.com/detekt/detekt/pull/1789) +- Check classes and functions documented for api module - [#1788](https://github.com/detekt/detekt/pull/1788) +- Provide default value for ignoreFailures - [#1787](https://github.com/detekt/detekt/pull/1787) +- Update detekt-api documentation - [#1786](https://github.com/detekt/detekt/pull/1786) +- Document meanings of rule severity levels - [#1785](https://github.com/detekt/detekt/pull/1785) +- Remove unused code - [#1784](https://github.com/detekt/detekt/pull/1784) +- Fix UseDataClass false positive (delegation) - [#1783](https://github.com/detekt/detekt/pull/1783) +- Add ignore pattern to SwallowedException - [#1782](https://github.com/detekt/detekt/pull/1782) +- Prevent adding author tags in code - [#1776](https://github.com/detekt/detekt/pull/1776) +- Remove xml report consolidation. - [#1774](https://github.com/detekt/detekt/pull/1774) +- Update Complex Method doc - closes #1009 - [#1773](https://github.com/detekt/detekt/pull/1773) +- Implement dry-run option for detekt gradle tasks. - [#1769](https://github.com/detekt/detekt/pull/1769) +- Fix missing report file issue. - [#1767](https://github.com/detekt/detekt/pull/1767) +- Not running formatting autocorrect - [#1766](https://github.com/detekt/detekt/issues/1766) +- Check if file exists before considering it for report merges - [#1763](https://github.com/detekt/detekt/pull/1763) +- Preset ignoreFailures property with false as it is also used by Gradle - [#1762](https://github.com/detekt/detekt/pull/1762) +- Rearrange badges, add codefactor - [#1760](https://github.com/detekt/detekt/pull/1760) +- Update Kotlin to 1.3.41 - [#1759](https://github.com/detekt/detekt/pull/1759) +- Update EmptyClassBlock to skip classes with comments in the body - [#1758](https://github.com/detekt/detekt/pull/1758) +- EmptyClassBlock should consider comment as "body" (via option?) - [#1756](https://github.com/detekt/detekt/issues/1756) +- Remove obsolete NoWildcardImports autoCorrect param - [#1751](https://github.com/detekt/detekt/pull/1751) +- Kotlin language version handling - [#1748](https://github.com/detekt/detekt/pull/1748) +- Fix cli execution doc - [#1747](https://github.com/detekt/detekt/pull/1747) +- Add naming test for ForbiddenVoid rule - [#1740](https://github.com/detekt/detekt/pull/1740) +- ForbiddenVoid: New option 'ignoreUsageInGenerics' - [#1738](https://github.com/detekt/detekt/pull/1738) +- Default Gradle config path should be config/detekt/config.yml - [#1262](https://github.com/detekt/detekt/issues/1262) -See all issues at: [1.0.0](https://github.com/arturbosch/detekt/milestone/46) +See all issues at: [1.0.0](https://github.com/detekt/detekt/milestone/46) diff --git a/docs/pages/changelog.md b/docs/pages/changelog.md index 9fd926353..8fce164e3 100644 --- a/docs/pages/changelog.md +++ b/docs/pages/changelog.md @@ -20,39 +20,39 @@ toc: true ##### Changelog -- Use Codecov's recommended JaCoCo config - [#1739](https://github.com/arturbosch/detekt/pull/1739) -- Write a post about how to use snapshot releases - [#1737](https://github.com/arturbosch/detekt/pull/1737) -- Document how to include/exclude source files in the gradle plugin - [#1736](https://github.com/arturbosch/detekt/pull/1736) -- Publish snapshots to jfrogs oss artifactory - [#1734](https://github.com/arturbosch/detekt/pull/1734) -- Extract building runner - [#1733](https://github.com/arturbosch/detekt/pull/1733) -- Move to JSR compilation for rule Specs - [#1732](https://github.com/arturbosch/detekt/pull/1732) -- Remove deprecated threshold settings doc - [#1730](https://github.com/arturbosch/detekt/pull/1730) -- Publish snapshots to jfrogs oss artifactory - [#1729](https://github.com/arturbosch/detekt/pull/1729) -- Remove deprecated build failure threshold settings - #1723 - [#1728](https://github.com/arturbosch/detekt/pull/1728) -- Print to console the count of weighted issues if above 0 - [#1725](https://github.com/arturbosch/detekt/pull/1725) -- Extract building a runner from main method - [#1719](https://github.com/arturbosch/detekt/pull/1719) -- Run all detekt tasks with project dependencies - [#1718](https://github.com/arturbosch/detekt/pull/1718) -- Update doc for UnusedImports rule - [#1714](https://github.com/arturbosch/detekt/pull/1714) -- Update Kotlin to 1.3.40 - [#1713](https://github.com/arturbosch/detekt/pull/1713) -- Unable to use "exclude" in 1.0.0-RC15 with groovy dsl - [#1712](https://github.com/arturbosch/detekt/issues/1712) -- Introduce lock-bot - [#1711](https://github.com/arturbosch/detekt/pull/1711) -- Fix broken hasLocationStrings and similar broken assert - [#1707](https://github.com/arturbosch/detekt/pull/1707) -- Rule improvement: False positive UnusedImport for componentN - [#1705](https://github.com/arturbosch/detekt/pull/1705) -- Update doc (report extension section) - [#1703](https://github.com/arturbosch/detekt/pull/1703) -- Disable colors on Windows OS - [#1701](https://github.com/arturbosch/detekt/pull/1701) -- Add two more examples and one integrating site - [#1699](https://github.com/arturbosch/detekt/pull/1699) -- Filter fake elements when processing ast nodes - Closes #1688 - [#1698](https://github.com/arturbosch/detekt/pull/1698) -- Set ignoreFailures on all sourceset tasks - [#1697](https://github.com/arturbosch/detekt/pull/1697) -- Gradle plugin: Pass arguments to detekt in a file - [#1696](https://github.com/arturbosch/detekt/pull/1696) -- Gradle: Upgrade the ktlint version to 0.33.0 - [#1692](https://github.com/arturbosch/detekt/pull/1692) -- Fixed bug reporting false positives with EmptyFunctionBlock - [#1690](https://github.com/arturbosch/detekt/pull/1690) -- Fix reporting logic for UseRequire and UseCheckOrErrorSpec - [#1689](https://github.com/arturbosch/detekt/pull/1689) -- Bogus NoTrailingSpaces findings in some files - [#1688](https://github.com/arturbosch/detekt/issues/1688) -- Implement LibraryCodeMustSpecifyReturnType rule - [#1659](https://github.com/arturbosch/detekt/pull/1659) -- Add RedundantElseInWhen rule - [#1603](https://github.com/arturbosch/detekt/pull/1603) -- Wrap four new KtLint rules - [#1455](https://github.com/arturbosch/detekt/pull/1455) +- Use Codecov's recommended JaCoCo config - [#1739](https://github.com/detekt/detekt/pull/1739) +- Write a post about how to use snapshot releases - [#1737](https://github.com/detekt/detekt/pull/1737) +- Document how to include/exclude source files in the gradle plugin - [#1736](https://github.com/detekt/detekt/pull/1736) +- Publish snapshots to jfrogs oss artifactory - [#1734](https://github.com/detekt/detekt/pull/1734) +- Extract building runner - [#1733](https://github.com/detekt/detekt/pull/1733) +- Move to JSR compilation for rule Specs - [#1732](https://github.com/detekt/detekt/pull/1732) +- Remove deprecated threshold settings doc - [#1730](https://github.com/detekt/detekt/pull/1730) +- Publish snapshots to jfrogs oss artifactory - [#1729](https://github.com/detekt/detekt/pull/1729) +- Remove deprecated build failure threshold settings - #1723 - [#1728](https://github.com/detekt/detekt/pull/1728) +- Print to console the count of weighted issues if above 0 - [#1725](https://github.com/detekt/detekt/pull/1725) +- Extract building a runner from main method - [#1719](https://github.com/detekt/detekt/pull/1719) +- Run all detekt tasks with project dependencies - [#1718](https://github.com/detekt/detekt/pull/1718) +- Update doc for UnusedImports rule - [#1714](https://github.com/detekt/detekt/pull/1714) +- Update Kotlin to 1.3.40 - [#1713](https://github.com/detekt/detekt/pull/1713) +- Unable to use "exclude" in 1.0.0-RC15 with groovy dsl - [#1712](https://github.com/detekt/detekt/issues/1712) +- Introduce lock-bot - [#1711](https://github.com/detekt/detekt/pull/1711) +- Fix broken hasLocationStrings and similar broken assert - [#1707](https://github.com/detekt/detekt/pull/1707) +- Rule improvement: False positive UnusedImport for componentN - [#1705](https://github.com/detekt/detekt/pull/1705) +- Update doc (report extension section) - [#1703](https://github.com/detekt/detekt/pull/1703) +- Disable colors on Windows OS - [#1701](https://github.com/detekt/detekt/pull/1701) +- Add two more examples and one integrating site - [#1699](https://github.com/detekt/detekt/pull/1699) +- Filter fake elements when processing ast nodes - Closes #1688 - [#1698](https://github.com/detekt/detekt/pull/1698) +- Set ignoreFailures on all sourceset tasks - [#1697](https://github.com/detekt/detekt/pull/1697) +- Gradle plugin: Pass arguments to detekt in a file - [#1696](https://github.com/detekt/detekt/pull/1696) +- Gradle: Upgrade the ktlint version to 0.33.0 - [#1692](https://github.com/detekt/detekt/pull/1692) +- Fixed bug reporting false positives with EmptyFunctionBlock - [#1690](https://github.com/detekt/detekt/pull/1690) +- Fix reporting logic for UseRequire and UseCheckOrErrorSpec - [#1689](https://github.com/detekt/detekt/pull/1689) +- Bogus NoTrailingSpaces findings in some files - [#1688](https://github.com/detekt/detekt/issues/1688) +- Implement LibraryCodeMustSpecifyReturnType rule - [#1659](https://github.com/detekt/detekt/pull/1659) +- Add RedundantElseInWhen rule - [#1603](https://github.com/detekt/detekt/pull/1603) +- Wrap four new KtLint rules - [#1455](https://github.com/detekt/detekt/pull/1455) -See all issues at: [RC16](https://github.com/arturbosch/detekt/milestone/45) +See all issues at: [RC16](https://github.com/detekt/detekt/milestone/45) #### RC15 @@ -72,120 +72,120 @@ See all issues at: [RC16](https://github.com/arturbosch/detekt/milestone/45) ##### Changelog -- Adding test for UselessCallOnNotNull and platform types - [#1674](https://github.com/arturbosch/detekt/pull/1674) -- Fix MaxLineLength and suppressing issues with multiline strings - [#1673](https://github.com/arturbosch/detekt/pull/1673) -- Update website for all breaking changes in RC15 - [#1671](https://github.com/arturbosch/detekt/issues/1671) -- Fix TooManyFunctions report logic - [#1669](https://github.com/arturbosch/detekt/pull/1669) -- Rework UnderscoresInNumericLiterals Rule - [#1664](https://github.com/arturbosch/detekt/pull/1664) -- JaCoCo 0.8.4 - [#1663](https://github.com/arturbosch/detekt/pull/1663) -- Add support for JSR test infrastructure for type resolved rules - [#1661](https://github.com/arturbosch/detekt/pull/1661) -- Unify use of kotlin environment and make AST modification work again - [#1657](https://github.com/arturbosch/detekt/pull/1657) -- Do not use relativePath as it is not set anymore and will crash the detekt run - [#1655](https://github.com/arturbosch/detekt/pull/1655) -- Move autocorrect to cli - [#1654](https://github.com/arturbosch/detekt/pull/1654) -- Replace test pattern concept with rule excludes - [#1651](https://github.com/arturbosch/detekt/pull/1651) -- Refactor api tests to use test-api - [#1649](https://github.com/arturbosch/detekt/pull/1649) -- Allow to configure exclusion and inclusion patterns for rule sets - [#1648](https://github.com/arturbosch/detekt/pull/1648) -- Revert cross module coverage - [#1647](https://github.com/arturbosch/detekt/pull/1647) -- Migrate to lazy searching of child nodes - [#1646](https://github.com/arturbosch/detekt/pull/1646) -- Do not report when using shortcut 'return' on nullable types - [#1645](https://github.com/arturbosch/detekt/pull/1645) -- Consider default functions inside interface for used private functions - [#1644](https://github.com/arturbosch/detekt/pull/1644) -- Lazily add `detekt` task as a dependency of the `check` task - [#1641](https://github.com/arturbosch/detekt/pull/1641) -- Detekt gradle task is not executed upon check - [#1640](https://github.com/arturbosch/detekt/issues/1640) -- Remove git commit message check - [#1638](https://github.com/arturbosch/detekt/pull/1638) -- Remove additional space in EmptyClassBlock report msg - [#1636](https://github.com/arturbosch/detekt/pull/1636) -- Whitelist provideDelegate operator in UnusedImports rule - [#1632](https://github.com/arturbosch/detekt/pull/1632) -- Reports no duplicated findings in empty ruleset - [#1623](https://github.com/arturbosch/detekt/pull/1623) -- Add support for JSR test infrastructure in style ruleset - [#1620](https://github.com/arturbosch/detekt/pull/1620) -- Update to kotlin version 1.3.31 - [#1618](https://github.com/arturbosch/detekt/pull/1618) -- Publish detekt-api docs to the detekt documentation site - [#1615](https://github.com/arturbosch/detekt/pull/1615) -- False Positive on UnusedPrivateMember with interface's default method - [#1613](https://github.com/arturbosch/detekt/issues/1613) -- Update dependencies - [#1612](https://github.com/arturbosch/detekt/pull/1612) -- Improve handling of classpaths in Gradle plugin - [#1609](https://github.com/arturbosch/detekt/pull/1609) -- False positive from UnusedImports on org.gradle.kotlin.dsl.provideDelegate - [#1608](https://github.com/arturbosch/detekt/issues/1608) -- Provide meaningful config error message by tracking sub configurations - [#1607](https://github.com/arturbosch/detekt/pull/1607) -- Replace cli filters parameter with incudes and excludes - [#1606](https://github.com/arturbosch/detekt/pull/1606) -- Duplicated findings are being added to `Detektion.findings` - [#1605](https://github.com/arturbosch/detekt/issues/1605) -- Don't trigger SpreadOperator rule when array copy not required - [#1604](https://github.com/arturbosch/detekt/pull/1604) -- Add MissingWhenCase rule - [#1602](https://github.com/arturbosch/detekt/pull/1602) -- Custom reports in gradle plugin - [#1598](https://github.com/arturbosch/detekt/pull/1598) -- Gradle plugin: create task per source set (JVM) - [#1597](https://github.com/arturbosch/detekt/pull/1597) -- Added auto correct information to finding - [#1595](https://github.com/arturbosch/detekt/pull/1595) -- Add DataClassShouldBeImmutable rule - [#1588](https://github.com/arturbosch/detekt/pull/1588) -- Using custom output inside Gradle plugin - [#1583](https://github.com/arturbosch/detekt/issues/1583) -- Colorizes CLI output. - [#1581](https://github.com/arturbosch/detekt/pull/1581) -- Using the Gradle Plugin analyzes files sequentially - [#1580](https://github.com/arturbosch/detekt/issues/1580) -- Bump Spek version - [#1578](https://github.com/arturbosch/detekt/pull/1578) -- Ignore void types in overridden function signatures. - [#1576](https://github.com/arturbosch/detekt/pull/1576) -- Test case and fix for issue #1573 - [#1575](https://github.com/arturbosch/detekt/pull/1575) -- ForbiddenImport matches on substring, not full class - [#1573](https://github.com/arturbosch/detekt/issues/1573) -- Silence dokka - [#1572](https://github.com/arturbosch/detekt/pull/1572) -- AssertJ housekeeping - [#1571](https://github.com/arturbosch/detekt/pull/1571) -- Add rules to suggest usage of check(), require() and error(). - [#1570](https://github.com/arturbosch/detekt/pull/1570) -- Allow configuration to ignore magic number in ranges. - [#1567](https://github.com/arturbosch/detekt/pull/1567) -- Add support for JSR test infrastructure in naming ruleset - [#1564](https://github.com/arturbosch/detekt/pull/1564) -- Add support for JSR test infrastructure in empty ruleset - [#1563](https://github.com/arturbosch/detekt/pull/1563) -- Add support for JSR test infrastructure in complexity ruleset - [#1562](https://github.com/arturbosch/detekt/pull/1562) -- Add support for JSR test infrastructure in bugs ruleset - [#1561](https://github.com/arturbosch/detekt/pull/1561) -- Add detekt mention to readme - [#1560](https://github.com/arturbosch/detekt/pull/1560) -- Add formatting issue to baseline - [#1559](https://github.com/arturbosch/detekt/pull/1559) -- Update doc for fail-fast argument - [#1558](https://github.com/arturbosch/detekt/pull/1558) -- Travis: Skip default install step - [#1557](https://github.com/arturbosch/detekt/pull/1557) -- Fix the check for private top-level property naming - [#1556](https://github.com/arturbosch/detekt/pull/1556) -- Allow to ignore local properties in magic number - Closes #1536 - [#1555](https://github.com/arturbosch/detekt/pull/1555) -- Test on OpenJDK 12 - [#1554](https://github.com/arturbosch/detekt/pull/1554) -- Update Gradle & dependencies - [#1549](https://github.com/arturbosch/detekt/pull/1549) -- Simplify Java interop - [#1547](https://github.com/arturbosch/detekt/pull/1547) -- Improve RC13 migration instructions in changelog - [#1546](https://github.com/arturbosch/detekt/pull/1546) -- Enable local build cache for CI - [#1544](https://github.com/arturbosch/detekt/pull/1544) -- ktlint 0.31.0 - [#1543](https://github.com/arturbosch/detekt/pull/1543) -- Add code formatting instructions to CONTRIBUTING.md - [#1542](https://github.com/arturbosch/detekt/pull/1542) -- Remove non popular watcher module - [#1541](https://github.com/arturbosch/detekt/pull/1541) -- Add ignoreVariables to MagicNumber - [#1536](https://github.com/arturbosch/detekt/issues/1536) -- Ignore local properties - [#1535](https://github.com/arturbosch/detekt/pull/1535) -- Enable Kotlin's progressive compilation mode - [#1534](https://github.com/arturbosch/detekt/pull/1534) -- Type and symbol resolving - [#1532](https://github.com/arturbosch/detekt/pull/1532) -- Remove the timestamp from the baseline doc #1524 - [#1531](https://github.com/arturbosch/detekt/pull/1531) -- Add newline at end of baseline files - [#1527](https://github.com/arturbosch/detekt/pull/1527) -- Add a final newline in the baseline files - [#1525](https://github.com/arturbosch/detekt/issues/1525) -- Configure build-scan plugin - [#1523](https://github.com/arturbosch/detekt/pull/1523) -- [docs] Introduce guides in the news section - [#1522](https://github.com/arturbosch/detekt/pull/1522) -- Repackage formatting to make it able to use the jar as --plugins jar for cli runs - [#1521](https://github.com/arturbosch/detekt/pull/1521) -- Single statement in nullable apply calls - [#1520](https://github.com/arturbosch/detekt/pull/1520) -- Update dependencies - [#1519](https://github.com/arturbosch/detekt/pull/1519) -- Fix compliant/noncompliant code example in OptionalWhenBraces - [#1511](https://github.com/arturbosch/detekt/pull/1511) -- Ensure IntelliJ is configured to use official Kotlin style - [#1510](https://github.com/arturbosch/detekt/pull/1510) -- Fix deprecation warnings - [#1509](https://github.com/arturbosch/detekt/pull/1509) -- Exit process with specific code when detekt finds code issues - [#1508](https://github.com/arturbosch/detekt/pull/1508) -- Show friendlier error when wrong type used for a config parameter - [#1507](https://github.com/arturbosch/detekt/pull/1507) -- Show message only when failFast in config is not null - [#1506](https://github.com/arturbosch/detekt/pull/1506) -- Convert tasks to SourceTasks - [#1505](https://github.com/arturbosch/detekt/pull/1505) -- Load dependencies over HTTPS - [#1504](https://github.com/arturbosch/detekt/pull/1504) -- Exception thrown when running detekt with -p [detekt-format jar] - [#1503](https://github.com/arturbosch/detekt/issues/1503) -- Ignore enums in ProtectedMemberInFinalClass rule - #1489 - [#1496](https://github.com/arturbosch/detekt/pull/1496) -- Add "issues found" exit code - [#1493](https://github.com/arturbosch/detekt/issues/1493) -- Project dependency to override detekt-cli in composite build does not run assemble automatically - [#1208](https://github.com/arturbosch/detekt/issues/1208) -- Gradle plugin: create task per source set - [#1198](https://github.com/arturbosch/detekt/issues/1198) +- Adding test for UselessCallOnNotNull and platform types - [#1674](https://github.com/detekt/detekt/pull/1674) +- Fix MaxLineLength and suppressing issues with multiline strings - [#1673](https://github.com/detekt/detekt/pull/1673) +- Update website for all breaking changes in RC15 - [#1671](https://github.com/detekt/detekt/issues/1671) +- Fix TooManyFunctions report logic - [#1669](https://github.com/detekt/detekt/pull/1669) +- Rework UnderscoresInNumericLiterals Rule - [#1664](https://github.com/detekt/detekt/pull/1664) +- JaCoCo 0.8.4 - [#1663](https://github.com/detekt/detekt/pull/1663) +- Add support for JSR test infrastructure for type resolved rules - [#1661](https://github.com/detekt/detekt/pull/1661) +- Unify use of kotlin environment and make AST modification work again - [#1657](https://github.com/detekt/detekt/pull/1657) +- Do not use relativePath as it is not set anymore and will crash the detekt run - [#1655](https://github.com/detekt/detekt/pull/1655) +- Move autocorrect to cli - [#1654](https://github.com/detekt/detekt/pull/1654) +- Replace test pattern concept with rule excludes - [#1651](https://github.com/detekt/detekt/pull/1651) +- Refactor api tests to use test-api - [#1649](https://github.com/detekt/detekt/pull/1649) +- Allow to configure exclusion and inclusion patterns for rule sets - [#1648](https://github.com/detekt/detekt/pull/1648) +- Revert cross module coverage - [#1647](https://github.com/detekt/detekt/pull/1647) +- Migrate to lazy searching of child nodes - [#1646](https://github.com/detekt/detekt/pull/1646) +- Do not report when using shortcut 'return' on nullable types - [#1645](https://github.com/detekt/detekt/pull/1645) +- Consider default functions inside interface for used private functions - [#1644](https://github.com/detekt/detekt/pull/1644) +- Lazily add `detekt` task as a dependency of the `check` task - [#1641](https://github.com/detekt/detekt/pull/1641) +- Detekt gradle task is not executed upon check - [#1640](https://github.com/detekt/detekt/issues/1640) +- Remove git commit message check - [#1638](https://github.com/detekt/detekt/pull/1638) +- Remove additional space in EmptyClassBlock report msg - [#1636](https://github.com/detekt/detekt/pull/1636) +- Whitelist provideDelegate operator in UnusedImports rule - [#1632](https://github.com/detekt/detekt/pull/1632) +- Reports no duplicated findings in empty ruleset - [#1623](https://github.com/detekt/detekt/pull/1623) +- Add support for JSR test infrastructure in style ruleset - [#1620](https://github.com/detekt/detekt/pull/1620) +- Update to kotlin version 1.3.31 - [#1618](https://github.com/detekt/detekt/pull/1618) +- Publish detekt-api docs to the detekt documentation site - [#1615](https://github.com/detekt/detekt/pull/1615) +- False Positive on UnusedPrivateMember with interface's default method - [#1613](https://github.com/detekt/detekt/issues/1613) +- Update dependencies - [#1612](https://github.com/detekt/detekt/pull/1612) +- Improve handling of classpaths in Gradle plugin - [#1609](https://github.com/detekt/detekt/pull/1609) +- False positive from UnusedImports on org.gradle.kotlin.dsl.provideDelegate - [#1608](https://github.com/detekt/detekt/issues/1608) +- Provide meaningful config error message by tracking sub configurations - [#1607](https://github.com/detekt/detekt/pull/1607) +- Replace cli filters parameter with incudes and excludes - [#1606](https://github.com/detekt/detekt/pull/1606) +- Duplicated findings are being added to `Detektion.findings` - [#1605](https://github.com/detekt/detekt/issues/1605) +- Don't trigger SpreadOperator rule when array copy not required - [#1604](https://github.com/detekt/detekt/pull/1604) +- Add MissingWhenCase rule - [#1602](https://github.com/detekt/detekt/pull/1602) +- Custom reports in gradle plugin - [#1598](https://github.com/detekt/detekt/pull/1598) +- Gradle plugin: create task per source set (JVM) - [#1597](https://github.com/detekt/detekt/pull/1597) +- Added auto correct information to finding - [#1595](https://github.com/detekt/detekt/pull/1595) +- Add DataClassShouldBeImmutable rule - [#1588](https://github.com/detekt/detekt/pull/1588) +- Using custom output inside Gradle plugin - [#1583](https://github.com/detekt/detekt/issues/1583) +- Colorizes CLI output. - [#1581](https://github.com/detekt/detekt/pull/1581) +- Using the Gradle Plugin analyzes files sequentially - [#1580](https://github.com/detekt/detekt/issues/1580) +- Bump Spek version - [#1578](https://github.com/detekt/detekt/pull/1578) +- Ignore void types in overridden function signatures. - [#1576](https://github.com/detekt/detekt/pull/1576) +- Test case and fix for issue #1573 - [#1575](https://github.com/detekt/detekt/pull/1575) +- ForbiddenImport matches on substring, not full class - [#1573](https://github.com/detekt/detekt/issues/1573) +- Silence dokka - [#1572](https://github.com/detekt/detekt/pull/1572) +- AssertJ housekeeping - [#1571](https://github.com/detekt/detekt/pull/1571) +- Add rules to suggest usage of check(), require() and error(). - [#1570](https://github.com/detekt/detekt/pull/1570) +- Allow configuration to ignore magic number in ranges. - [#1567](https://github.com/detekt/detekt/pull/1567) +- Add support for JSR test infrastructure in naming ruleset - [#1564](https://github.com/detekt/detekt/pull/1564) +- Add support for JSR test infrastructure in empty ruleset - [#1563](https://github.com/detekt/detekt/pull/1563) +- Add support for JSR test infrastructure in complexity ruleset - [#1562](https://github.com/detekt/detekt/pull/1562) +- Add support for JSR test infrastructure in bugs ruleset - [#1561](https://github.com/detekt/detekt/pull/1561) +- Add detekt mention to readme - [#1560](https://github.com/detekt/detekt/pull/1560) +- Add formatting issue to baseline - [#1559](https://github.com/detekt/detekt/pull/1559) +- Update doc for fail-fast argument - [#1558](https://github.com/detekt/detekt/pull/1558) +- Travis: Skip default install step - [#1557](https://github.com/detekt/detekt/pull/1557) +- Fix the check for private top-level property naming - [#1556](https://github.com/detekt/detekt/pull/1556) +- Allow to ignore local properties in magic number - Closes #1536 - [#1555](https://github.com/detekt/detekt/pull/1555) +- Test on OpenJDK 12 - [#1554](https://github.com/detekt/detekt/pull/1554) +- Update Gradle & dependencies - [#1549](https://github.com/detekt/detekt/pull/1549) +- Simplify Java interop - [#1547](https://github.com/detekt/detekt/pull/1547) +- Improve RC13 migration instructions in changelog - [#1546](https://github.com/detekt/detekt/pull/1546) +- Enable local build cache for CI - [#1544](https://github.com/detekt/detekt/pull/1544) +- ktlint 0.31.0 - [#1543](https://github.com/detekt/detekt/pull/1543) +- Add code formatting instructions to CONTRIBUTING.md - [#1542](https://github.com/detekt/detekt/pull/1542) +- Remove non popular watcher module - [#1541](https://github.com/detekt/detekt/pull/1541) +- Add ignoreVariables to MagicNumber - [#1536](https://github.com/detekt/detekt/issues/1536) +- Ignore local properties - [#1535](https://github.com/detekt/detekt/pull/1535) +- Enable Kotlin's progressive compilation mode - [#1534](https://github.com/detekt/detekt/pull/1534) +- Type and symbol resolving - [#1532](https://github.com/detekt/detekt/pull/1532) +- Remove the timestamp from the baseline doc #1524 - [#1531](https://github.com/detekt/detekt/pull/1531) +- Add newline at end of baseline files - [#1527](https://github.com/detekt/detekt/pull/1527) +- Add a final newline in the baseline files - [#1525](https://github.com/detekt/detekt/issues/1525) +- Configure build-scan plugin - [#1523](https://github.com/detekt/detekt/pull/1523) +- [docs] Introduce guides in the news section - [#1522](https://github.com/detekt/detekt/pull/1522) +- Repackage formatting to make it able to use the jar as --plugins jar for cli runs - [#1521](https://github.com/detekt/detekt/pull/1521) +- Single statement in nullable apply calls - [#1520](https://github.com/detekt/detekt/pull/1520) +- Update dependencies - [#1519](https://github.com/detekt/detekt/pull/1519) +- Fix compliant/noncompliant code example in OptionalWhenBraces - [#1511](https://github.com/detekt/detekt/pull/1511) +- Ensure IntelliJ is configured to use official Kotlin style - [#1510](https://github.com/detekt/detekt/pull/1510) +- Fix deprecation warnings - [#1509](https://github.com/detekt/detekt/pull/1509) +- Exit process with specific code when detekt finds code issues - [#1508](https://github.com/detekt/detekt/pull/1508) +- Show friendlier error when wrong type used for a config parameter - [#1507](https://github.com/detekt/detekt/pull/1507) +- Show message only when failFast in config is not null - [#1506](https://github.com/detekt/detekt/pull/1506) +- Convert tasks to SourceTasks - [#1505](https://github.com/detekt/detekt/pull/1505) +- Load dependencies over HTTPS - [#1504](https://github.com/detekt/detekt/pull/1504) +- Exception thrown when running detekt with -p [detekt-format jar] - [#1503](https://github.com/detekt/detekt/issues/1503) +- Ignore enums in ProtectedMemberInFinalClass rule - #1489 - [#1496](https://github.com/detekt/detekt/pull/1496) +- Add "issues found" exit code - [#1493](https://github.com/detekt/detekt/issues/1493) +- Project dependency to override detekt-cli in composite build does not run assemble automatically - [#1208](https://github.com/detekt/detekt/issues/1208) +- Gradle plugin: create task per source set - [#1198](https://github.com/detekt/detekt/issues/1198) -See all issues at: [RC15](https://github.com/arturbosch/detekt/milestone/44) +See all issues at: [RC15](https://github.com/detekt/detekt/milestone/44) #### RC14 ##### Changelog -- TooManyFunctions: Use existing functions to be more readable - [#1491](https://github.com/arturbosch/detekt/pull/1491) -- Disable rules that ktlint disables by default - [#1490](https://github.com/arturbosch/detekt/pull/1490) -- Add ignoreOverridden option for TooManyFunctions rule - #1411 - [#1488](https://github.com/arturbosch/detekt/pull/1488) -- Do only consider calls and member accesses in UnnecessaryApply rule - [#1487](https://github.com/arturbosch/detekt/pull/1487) -- Remove project cache dir workaround from tests - [#1484](https://github.com/arturbosch/detekt/pull/1484) -- Add comment about baseline setup on readme - [#1483](https://github.com/arturbosch/detekt/pull/1483) -- Test Gradle plugin on multiple Gradle versions - [#1482](https://github.com/arturbosch/detekt/pull/1482) -- Update Default acceptableDecimalLength for UnderscoresInNumericLiterals - [#1477](https://github.com/arturbosch/detekt/pull/1477) -- RC13 doesn't work on gradlew 4.9 - [#1475](https://github.com/arturbosch/detekt/issues/1475) -- False Positive UnusedPrivateClass - [#1474](https://github.com/arturbosch/detekt/issues/1474) -- False Positive UnnecessaryApply - [#1473](https://github.com/arturbosch/detekt/issues/1473) -- Spek 2 - [#1470](https://github.com/arturbosch/detekt/pull/1470) +- TooManyFunctions: Use existing functions to be more readable - [#1491](https://github.com/detekt/detekt/pull/1491) +- Disable rules that ktlint disables by default - [#1490](https://github.com/detekt/detekt/pull/1490) +- Add ignoreOverridden option for TooManyFunctions rule - #1411 - [#1488](https://github.com/detekt/detekt/pull/1488) +- Do only consider calls and member accesses in UnnecessaryApply rule - [#1487](https://github.com/detekt/detekt/pull/1487) +- Remove project cache dir workaround from tests - [#1484](https://github.com/detekt/detekt/pull/1484) +- Add comment about baseline setup on readme - [#1483](https://github.com/detekt/detekt/pull/1483) +- Test Gradle plugin on multiple Gradle versions - [#1482](https://github.com/detekt/detekt/pull/1482) +- Update Default acceptableDecimalLength for UnderscoresInNumericLiterals - [#1477](https://github.com/detekt/detekt/pull/1477) +- RC13 doesn't work on gradlew 4.9 - [#1475](https://github.com/detekt/detekt/issues/1475) +- False Positive UnusedPrivateClass - [#1474](https://github.com/detekt/detekt/issues/1474) +- False Positive UnnecessaryApply - [#1473](https://github.com/detekt/detekt/issues/1473) +- Spek 2 - [#1470](https://github.com/detekt/detekt/pull/1470) -See all issues at: [Upcoming](https://github.com/arturbosch/detekt/milestone/43) +See all issues at: [Upcoming](https://github.com/detekt/detekt/milestone/43) #### RC13 @@ -198,89 +198,89 @@ See all issues at: [Upcoming](https://github.com/arturbosch/detekt/milestone/43) ##### Changelog -- Support new flags in gradle plugin - [#1465](https://github.com/arturbosch/detekt/pull/1465) -- Add UnderscoresInNumericLiterals Rule - [#1464](https://github.com/arturbosch/detekt/pull/1464) -- Prepare RC13 - [#1462](https://github.com/arturbosch/detekt/pull/1462) -- Use sensible defaults for not set properties - Closes #1457 - [#1461](https://github.com/arturbosch/detekt/pull/1461) -- Update to Kotlin v1.3.21 - [#1460](https://github.com/arturbosch/detekt/pull/1460) -- Gradle 5.2 - [#1458](https://github.com/arturbosch/detekt/pull/1458) -- Custom Detekt Task fails with Gradle 5.2: No value has been specified for this provider - [#1457](https://github.com/arturbosch/detekt/issues/1457) -- Treat androidTest directory and *Spek.kt files as test sources. - [#1456](https://github.com/arturbosch/detekt/pull/1456) -- Exclude inline classes as they are a light form of data class - Closes #1450 - [#1454](https://github.com/arturbosch/detekt/pull/1454) -- Publish shadowed jars (-all) - [#1453](https://github.com/arturbosch/detekt/pull/1453) -- Reimplement lines of code based rules (LargeClass & LongMethod) - [#1448](https://github.com/arturbosch/detekt/pull/1448) -- Add test case for TooManyFunctons fix - #1439 - [#1447](https://github.com/arturbosch/detekt/pull/1447) -- Fix false positives for UnnecessaryApply rule - Closes #1305 - [#1446](https://github.com/arturbosch/detekt/pull/1446) -- Skip operator functions when searching for unused private members - #1354 - [#1445](https://github.com/arturbosch/detekt/pull/1445) -- Do not report annotation classes as candidates for utility class - #1428 - [#1442](https://github.com/arturbosch/detekt/pull/1442) -- Do not report unused import when alias is used by import from same package - [#1441](https://github.com/arturbosch/detekt/pull/1441) -- Update Kotlin to 1.3.20 - [#1438](https://github.com/arturbosch/detekt/pull/1438) -- Mention jcenter repository in getting started guides - [#1437](https://github.com/arturbosch/detekt/pull/1437) -- Do not report main functions args parameter in objects - [#1436](https://github.com/arturbosch/detekt/pull/1436) -- Update default package naming rule according to official style guide. Closes #1429 - [#1434](https://github.com/arturbosch/detekt/pull/1434) -- UtilityClassWithPublicConstructor on annotation class - [#1428](https://github.com/arturbosch/detekt/issues/1428) -- UnusedPrivateMember with main method - [#1427](https://github.com/arturbosch/detekt/issues/1427) -- Ignore InstanceOfCheckForException by default for tests. - [#1424](https://github.com/arturbosch/detekt/pull/1424) -- Respect @Suppress in UnusedPrivateMember - [#1423](https://github.com/arturbosch/detekt/pull/1423) -- Documentation - using Gradle 5.0, need jcenter() in top-level dependencies block, not just buildscript - [#1420](https://github.com/arturbosch/detekt/issues/1420) -- Build upon default config for cli module - [#1417](https://github.com/arturbosch/detekt/pull/1417) -- Better wording when default config isn't up to date. - [#1416](https://github.com/arturbosch/detekt/pull/1416) -- UnusedPrivateClass does not consider when class is referenced via ::class.java - [#1410](https://github.com/arturbosch/detekt/issues/1410) -- Slight tweak to lazy task configuration. - [#1407](https://github.com/arturbosch/detekt/pull/1407) -- Reformat code base before 1.0 - [#1406](https://github.com/arturbosch/detekt/issues/1406) -- Introduce script to find and compare differences between two releases - [#1405](https://github.com/arturbosch/detekt/pull/1405) -- Add a section about how to integrate custom extensions into detekt - [#1403](https://github.com/arturbosch/detekt/pull/1403) -- Run detekt on detekt-gradle-plugin - [#1402](https://github.com/arturbosch/detekt/pull/1402) -- Add LabeledExpression ignore label option - [#1399](https://github.com/arturbosch/detekt/pull/1399) -- Consider double colon references for class usages - Closes #1390 - [#1391](https://github.com/arturbosch/detekt/pull/1391) -- False positive UnusedPrivateClass when using class references - [#1390](https://github.com/arturbosch/detekt/issues/1390) -- Fix some issues reported by IntelliJ - [#1389](https://github.com/arturbosch/detekt/pull/1389) -- Minor improvements to detekt-rules - [#1388](https://github.com/arturbosch/detekt/pull/1388) -- False positive on UnusedImport when using 'as' and the same package - [#1385](https://github.com/arturbosch/detekt/issues/1385) -- Build upon default config - Closes #1248 - [#1384](https://github.com/arturbosch/detekt/pull/1384) -- Document api module for 1.0 - [#1382](https://github.com/arturbosch/detekt/pull/1382) -- false positive EmptyDefaultConstructor for annotation - [#1362](https://github.com/arturbosch/detekt/issues/1362) -- Update to Gradle v5 - [#1350](https://github.com/arturbosch/detekt/pull/1350) -- False Positive UnnecessaryApply - [#1305](https://github.com/arturbosch/detekt/issues/1305) -- LongMethod counts statements but not actual lines as its description says - [#1279](https://github.com/arturbosch/detekt/issues/1279) -- Build upon the default configuration - [#1248](https://github.com/arturbosch/detekt/issues/1248) +- Support new flags in gradle plugin - [#1465](https://github.com/detekt/detekt/pull/1465) +- Add UnderscoresInNumericLiterals Rule - [#1464](https://github.com/detekt/detekt/pull/1464) +- Prepare RC13 - [#1462](https://github.com/detekt/detekt/pull/1462) +- Use sensible defaults for not set properties - Closes #1457 - [#1461](https://github.com/detekt/detekt/pull/1461) +- Update to Kotlin v1.3.21 - [#1460](https://github.com/detekt/detekt/pull/1460) +- Gradle 5.2 - [#1458](https://github.com/detekt/detekt/pull/1458) +- Custom Detekt Task fails with Gradle 5.2: No value has been specified for this provider - [#1457](https://github.com/detekt/detekt/issues/1457) +- Treat androidTest directory and *Spek.kt files as test sources. - [#1456](https://github.com/detekt/detekt/pull/1456) +- Exclude inline classes as they are a light form of data class - Closes #1450 - [#1454](https://github.com/detekt/detekt/pull/1454) +- Publish shadowed jars (-all) - [#1453](https://github.com/detekt/detekt/pull/1453) +- Reimplement lines of code based rules (LargeClass & LongMethod) - [#1448](https://github.com/detekt/detekt/pull/1448) +- Add test case for TooManyFunctons fix - #1439 - [#1447](https://github.com/detekt/detekt/pull/1447) +- Fix false positives for UnnecessaryApply rule - Closes #1305 - [#1446](https://github.com/detekt/detekt/pull/1446) +- Skip operator functions when searching for unused private members - #1354 - [#1445](https://github.com/detekt/detekt/pull/1445) +- Do not report annotation classes as candidates for utility class - #1428 - [#1442](https://github.com/detekt/detekt/pull/1442) +- Do not report unused import when alias is used by import from same package - [#1441](https://github.com/detekt/detekt/pull/1441) +- Update Kotlin to 1.3.20 - [#1438](https://github.com/detekt/detekt/pull/1438) +- Mention jcenter repository in getting started guides - [#1437](https://github.com/detekt/detekt/pull/1437) +- Do not report main functions args parameter in objects - [#1436](https://github.com/detekt/detekt/pull/1436) +- Update default package naming rule according to official style guide. Closes #1429 - [#1434](https://github.com/detekt/detekt/pull/1434) +- UtilityClassWithPublicConstructor on annotation class - [#1428](https://github.com/detekt/detekt/issues/1428) +- UnusedPrivateMember with main method - [#1427](https://github.com/detekt/detekt/issues/1427) +- Ignore InstanceOfCheckForException by default for tests. - [#1424](https://github.com/detekt/detekt/pull/1424) +- Respect @Suppress in UnusedPrivateMember - [#1423](https://github.com/detekt/detekt/pull/1423) +- Documentation - using Gradle 5.0, need jcenter() in top-level dependencies block, not just buildscript - [#1420](https://github.com/detekt/detekt/issues/1420) +- Build upon default config for cli module - [#1417](https://github.com/detekt/detekt/pull/1417) +- Better wording when default config isn't up to date. - [#1416](https://github.com/detekt/detekt/pull/1416) +- UnusedPrivateClass does not consider when class is referenced via ::class.java - [#1410](https://github.com/detekt/detekt/issues/1410) +- Slight tweak to lazy task configuration. - [#1407](https://github.com/detekt/detekt/pull/1407) +- Reformat code base before 1.0 - [#1406](https://github.com/detekt/detekt/issues/1406) +- Introduce script to find and compare differences between two releases - [#1405](https://github.com/detekt/detekt/pull/1405) +- Add a section about how to integrate custom extensions into detekt - [#1403](https://github.com/detekt/detekt/pull/1403) +- Run detekt on detekt-gradle-plugin - [#1402](https://github.com/detekt/detekt/pull/1402) +- Add LabeledExpression ignore label option - [#1399](https://github.com/detekt/detekt/pull/1399) +- Consider double colon references for class usages - Closes #1390 - [#1391](https://github.com/detekt/detekt/pull/1391) +- False positive UnusedPrivateClass when using class references - [#1390](https://github.com/detekt/detekt/issues/1390) +- Fix some issues reported by IntelliJ - [#1389](https://github.com/detekt/detekt/pull/1389) +- Minor improvements to detekt-rules - [#1388](https://github.com/detekt/detekt/pull/1388) +- False positive on UnusedImport when using 'as' and the same package - [#1385](https://github.com/detekt/detekt/issues/1385) +- Build upon default config - Closes #1248 - [#1384](https://github.com/detekt/detekt/pull/1384) +- Document api module for 1.0 - [#1382](https://github.com/detekt/detekt/pull/1382) +- false positive EmptyDefaultConstructor for annotation - [#1362](https://github.com/detekt/detekt/issues/1362) +- Update to Gradle v5 - [#1350](https://github.com/detekt/detekt/pull/1350) +- False Positive UnnecessaryApply - [#1305](https://github.com/detekt/detekt/issues/1305) +- LongMethod counts statements but not actual lines as its description says - [#1279](https://github.com/detekt/detekt/issues/1279) +- Build upon the default configuration - [#1248](https://github.com/detekt/detekt/issues/1248) -See all issues at: [RC13](https://github.com/arturbosch/detekt/milestone/3) +See all issues at: [RC13](https://github.com/detekt/detekt/milestone/3) #### RC12 ##### Changelog -- Actually print the exception message next to the stacktrace - [#1378](https://github.com/arturbosch/detekt/pull/1378) -- Added support for JSR test infrastructure in documentation ruleset - [#1377](https://github.com/arturbosch/detekt/pull/1377) -- Actually load the manifest to report detekt's version - [#1376](https://github.com/arturbosch/detekt/pull/1376) -- fix typo - [#1374](https://github.com/arturbosch/detekt/pull/1374) -- Drop JDK 9 & 10 from CI - [#1371](https://github.com/arturbosch/detekt/pull/1371) -- Add EqualsOnSignatureLine - [#1370](https://github.com/arturbosch/detekt/pull/1370) -- Do not add +1 complexity for nested functions inside functions - [#1365](https://github.com/arturbosch/detekt/pull/1365) -- Do not report expect'ed annotation classes with an empty constructor … - [#1364](https://github.com/arturbosch/detekt/pull/1364) -- Add more talks mentioning detekt - [#1363](https://github.com/arturbosch/detekt/pull/1363) -- false positive EmptyDefaultConstructor for annotation - [#1362](https://github.com/arturbosch/detekt/issues/1362) -- Mention published url change in the migration guide - [#1361](https://github.com/arturbosch/detekt/pull/1361) -- Support multiple it refs in UnnecessaryLet (#1359) - [#1360](https://github.com/arturbosch/detekt/pull/1360) -- Allow multiple 'it' references in UnnecessaryLet - [#1359](https://github.com/arturbosch/detekt/issues/1359) -- Fix link to contributing guideline in PR template - [#1358](https://github.com/arturbosch/detekt/pull/1358) -- Updated groovydsl version doc - [#1353](https://github.com/arturbosch/detekt/pull/1353) -- gradle plugin min gradle version - [#1352](https://github.com/arturbosch/detekt/issues/1352) -- Hide dev flags in CLI - [#1351](https://github.com/arturbosch/detekt/pull/1351) -- Filter wildcards for type references as they can be null - Closes #1345 - [#1349](https://github.com/arturbosch/detekt/pull/1349) -- I can't please detekt and/or ktlint with the following - what's kotlin idiomatic approach - [#1348](https://github.com/arturbosch/detekt/issues/1348) -- False positive UnusedPrivateClass in RC11 - [#1347](https://github.com/arturbosch/detekt/issues/1347) -- UnusedPrivateClass check led to an exception - [#1345](https://github.com/arturbosch/detekt/issues/1345) -- Added support for JSR test infrasture in performance ruleset - [#1343](https://github.com/arturbosch/detekt/pull/1343) -- Added SwallowedException ignore type config - [#1342](https://github.com/arturbosch/detekt/pull/1342) -- RC10 not published? - [#1339](https://github.com/arturbosch/detekt/issues/1339) -- Allow to exclude labeled return statements - #1317 - [#1336](https://github.com/arturbosch/detekt/pull/1336) -- Updated kotlin version to 1.3.10 - [#1332](https://github.com/arturbosch/detekt/pull/1332) -- Don't publish Gradle plugin to Bintray - [#1161](https://github.com/arturbosch/detekt/pull/1161) -- ComplexMethod false positive for returning anonymous inner class - [#1037](https://github.com/arturbosch/detekt/issues/1037) +- Actually print the exception message next to the stacktrace - [#1378](https://github.com/detekt/detekt/pull/1378) +- Added support for JSR test infrastructure in documentation ruleset - [#1377](https://github.com/detekt/detekt/pull/1377) +- Actually load the manifest to report detekt's version - [#1376](https://github.com/detekt/detekt/pull/1376) +- fix typo - [#1374](https://github.com/detekt/detekt/pull/1374) +- Drop JDK 9 & 10 from CI - [#1371](https://github.com/detekt/detekt/pull/1371) +- Add EqualsOnSignatureLine - [#1370](https://github.com/detekt/detekt/pull/1370) +- Do not add +1 complexity for nested functions inside functions - [#1365](https://github.com/detekt/detekt/pull/1365) +- Do not report expect'ed annotation classes with an empty constructor … - [#1364](https://github.com/detekt/detekt/pull/1364) +- Add more talks mentioning detekt - [#1363](https://github.com/detekt/detekt/pull/1363) +- false positive EmptyDefaultConstructor for annotation - [#1362](https://github.com/detekt/detekt/issues/1362) +- Mention published url change in the migration guide - [#1361](https://github.com/detekt/detekt/pull/1361) +- Support multiple it refs in UnnecessaryLet (#1359) - [#1360](https://github.com/detekt/detekt/pull/1360) +- Allow multiple 'it' references in UnnecessaryLet - [#1359](https://github.com/detekt/detekt/issues/1359) +- Fix link to contributing guideline in PR template - [#1358](https://github.com/detekt/detekt/pull/1358) +- Updated groovydsl version doc - [#1353](https://github.com/detekt/detekt/pull/1353) +- gradle plugin min gradle version - [#1352](https://github.com/detekt/detekt/issues/1352) +- Hide dev flags in CLI - [#1351](https://github.com/detekt/detekt/pull/1351) +- Filter wildcards for type references as they can be null - Closes #1345 - [#1349](https://github.com/detekt/detekt/pull/1349) +- I can't please detekt and/or ktlint with the following - what's kotlin idiomatic approach - [#1348](https://github.com/detekt/detekt/issues/1348) +- False positive UnusedPrivateClass in RC11 - [#1347](https://github.com/detekt/detekt/issues/1347) +- UnusedPrivateClass check led to an exception - [#1345](https://github.com/detekt/detekt/issues/1345) +- Added support for JSR test infrasture in performance ruleset - [#1343](https://github.com/detekt/detekt/pull/1343) +- Added SwallowedException ignore type config - [#1342](https://github.com/detekt/detekt/pull/1342) +- RC10 not published? - [#1339](https://github.com/detekt/detekt/issues/1339) +- Allow to exclude labeled return statements - #1317 - [#1336](https://github.com/detekt/detekt/pull/1336) +- Updated kotlin version to 1.3.10 - [#1332](https://github.com/detekt/detekt/pull/1332) +- Don't publish Gradle plugin to Bintray - [#1161](https://github.com/detekt/detekt/pull/1161) +- ComplexMethod false positive for returning anonymous inner class - [#1037](https://github.com/detekt/detekt/issues/1037) -See all issues at: [RC12](https://github.com/arturbosch/detekt/milestone/41) +See all issues at: [RC12](https://github.com/detekt/detekt/milestone/41) #### RC11 @@ -290,28 +290,28 @@ See all issues at: [RC12](https://github.com/arturbosch/detekt/milestone/41) ##### Changelog -- Update docs dependencies due to security issues - [#1337](https://github.com/arturbosch/detekt/pull/1337) -- Fixes #1319 - false positive for UnusedImports - [#1335](https://github.com/arturbosch/detekt/pull/1335) -- Update appveyor.yml to support jdk11 - [#1334](https://github.com/arturbosch/detekt/pull/1334) -- Updated ObjectPropertyNaming privatePropertyPattern - fixes #1331 - [#1333](https://github.com/arturbosch/detekt/pull/1333) -- ObjectPropertyNaming defaults do not match Kotlin style guide - [#1331](https://github.com/arturbosch/detekt/issues/1331) -- Supports @this expr in extension functions - [#1328](https://github.com/arturbosch/detekt/pull/1328) -- Added first prototype for compiling test snippets - [#1327](https://github.com/arturbosch/detekt/pull/1327) -- Swallowed exception update - [#1326](https://github.com/arturbosch/detekt/pull/1326) -- Removed todo without description - [#1323](https://github.com/arturbosch/detekt/pull/1323) -- Added tests for excludeClassPattern in NamingRules - [#1322](https://github.com/arturbosch/detekt/pull/1322) -- Ignores interfaces in NestedClassesVisibility - fixes #1075 - [#1321](https://github.com/arturbosch/detekt/pull/1321) -- False positive for UnusedImports - [#1319](https://github.com/arturbosch/detekt/issues/1319) -- Option to only build reports on failure - [#1318](https://github.com/arturbosch/detekt/issues/1318) -- Update detekt-gradle-plugin version - [#1315](https://github.com/arturbosch/detekt/pull/1315) -- Ignore TooGenericExceptionCaught by default for tests. - [#1312](https://github.com/arturbosch/detekt/pull/1312) -- Update README with "detektPlugins" configuration. - [#1311](https://github.com/arturbosch/detekt/pull/1311) -- Add license scan report and status - [#1310](https://github.com/arturbosch/detekt/pull/1310) -- New Rule: UnusedPrivateClass - [#1309](https://github.com/arturbosch/detekt/pull/1309) -- Use current working directory if --input parameter is not specified. - [#1308](https://github.com/arturbosch/detekt/pull/1308) -- Set current directory as default input path - [#1301](https://github.com/arturbosch/detekt/issues/1301) +- Update docs dependencies due to security issues - [#1337](https://github.com/detekt/detekt/pull/1337) +- Fixes #1319 - false positive for UnusedImports - [#1335](https://github.com/detekt/detekt/pull/1335) +- Update appveyor.yml to support jdk11 - [#1334](https://github.com/detekt/detekt/pull/1334) +- Updated ObjectPropertyNaming privatePropertyPattern - fixes #1331 - [#1333](https://github.com/detekt/detekt/pull/1333) +- ObjectPropertyNaming defaults do not match Kotlin style guide - [#1331](https://github.com/detekt/detekt/issues/1331) +- Supports @this expr in extension functions - [#1328](https://github.com/detekt/detekt/pull/1328) +- Added first prototype for compiling test snippets - [#1327](https://github.com/detekt/detekt/pull/1327) +- Swallowed exception update - [#1326](https://github.com/detekt/detekt/pull/1326) +- Removed todo without description - [#1323](https://github.com/detekt/detekt/pull/1323) +- Added tests for excludeClassPattern in NamingRules - [#1322](https://github.com/detekt/detekt/pull/1322) +- Ignores interfaces in NestedClassesVisibility - fixes #1075 - [#1321](https://github.com/detekt/detekt/pull/1321) +- False positive for UnusedImports - [#1319](https://github.com/detekt/detekt/issues/1319) +- Option to only build reports on failure - [#1318](https://github.com/detekt/detekt/issues/1318) +- Update detekt-gradle-plugin version - [#1315](https://github.com/detekt/detekt/pull/1315) +- Ignore TooGenericExceptionCaught by default for tests. - [#1312](https://github.com/detekt/detekt/pull/1312) +- Update README with "detektPlugins" configuration. - [#1311](https://github.com/detekt/detekt/pull/1311) +- Add license scan report and status - [#1310](https://github.com/detekt/detekt/pull/1310) +- New Rule: UnusedPrivateClass - [#1309](https://github.com/detekt/detekt/pull/1309) +- Use current working directory if --input parameter is not specified. - [#1308](https://github.com/detekt/detekt/pull/1308) +- Set current directory as default input path - [#1301](https://github.com/detekt/detekt/issues/1301) -See all issues at: [RC11](https://github.com/arturbosch/detekt/milestone/40) +See all issues at: [RC11](https://github.com/detekt/detekt/milestone/40) #### RC10 @@ -362,119 +362,119 @@ apply plugin: "io.gitlab.arturbosch.detekt" ##### Changelog -- Update regex for private properties in ObjectPropertyNaming to be on pare with intellij - [#1303](https://github.com/arturbosch/detekt/pull/1303) -- Get rid of jdk classes - [#1302](https://github.com/arturbosch/detekt/pull/1302) -- Clarification on Use Cases/Limitations - [#1300](https://github.com/arturbosch/detekt/issues/1300) -- Drop kotlin-dsl plugin from detekt-gradle-plugin - [#1298](https://github.com/arturbosch/detekt/pull/1298) -- Ask for Gradle version with bug reports - [#1297](https://github.com/arturbosch/detekt/pull/1297) -- Upgrade to Kotlin 1.3.0 - [#1296](https://github.com/arturbosch/detekt/pull/1296) -- Ignore FunctionMaxLength by default for tests. - [#1293](https://github.com/arturbosch/detekt/pull/1293) -- Typealiases for RuleId and RuleSetId - [#1292](https://github.com/arturbosch/detekt/pull/1292) -- Generate test coverage report and upload to Codecov - [#1291](https://github.com/arturbosch/detekt/pull/1291) -- Drop FunctionMinLength & FunctionMaxLength - [#1290](https://github.com/arturbosch/detekt/issues/1290) -- Fix a simple typo in TooManyFunctions rule's description text - [#1289](https://github.com/arturbosch/detekt/pull/1289) -- [WIP] [POC] Config based aliases - [#1287](https://github.com/arturbosch/detekt/pull/1287) -- Question: drop kotlin-dsl dependency from Gradle plugin? - [#1286](https://github.com/arturbosch/detekt/issues/1286) -- Add test coverage report for detekt project - [#1285](https://github.com/arturbosch/detekt/issues/1285) -- Add test case for reported false positive - #1264 - [#1284](https://github.com/arturbosch/detekt/pull/1284) -- Depend on open jdk and include openjdk11 - [#1282](https://github.com/arturbosch/detekt/pull/1282) -- Drop rules that ktlint implements - [#1281](https://github.com/arturbosch/detekt/issues/1281) -- Readd missing `detekt-rules` dependency for cli to avoid NOP detekt run - [#1280](https://github.com/arturbosch/detekt/pull/1280) -- Change the way we locate and filter Rules - [#1278](https://github.com/arturbosch/detekt/issues/1278) -- Gradle plugin: print path reports in output - [#1277](https://github.com/arturbosch/detekt/issues/1277) -- MagicNumber: Allow 300 by default. - [#1275](https://github.com/arturbosch/detekt/pull/1275) -- Added tests for PropertyNaming rules - [#1274](https://github.com/arturbosch/detekt/pull/1274) -- Updated MethodOverloading message - fixed #1223 - [#1273](https://github.com/arturbosch/detekt/pull/1273) -- Show error messages for unused properties distinguish (#1243) - [#1272](https://github.com/arturbosch/detekt/pull/1272) -- No BuildFailure for create-baseline - [#1271](https://github.com/arturbosch/detekt/pull/1271) -- Add rule for detecting arrays of primitive types in function parameters - [#1270](https://github.com/arturbosch/detekt/pull/1270) -- Split UnnecessaryApply tests - [#1269](https://github.com/arturbosch/detekt/pull/1269) -- Consider variable to be this prefixed - Closes #1257 - [#1268](https://github.com/arturbosch/detekt/pull/1268) -- Remove duplicate configurations for reports. - [#1267](https://github.com/arturbosch/detekt/pull/1267) -- Update ktlint - [#1266](https://github.com/arturbosch/detekt/pull/1266) -- [Gradle] Don't fail the build if baseline file is missing - [#1265](https://github.com/arturbosch/detekt/issues/1265) -- false positive unused import - [#1264](https://github.com/arturbosch/detekt/issues/1264) -- Remove unused baseline - [#1263](https://github.com/arturbosch/detekt/pull/1263) -- detektBaseline task returns failure on success - [#1261](https://github.com/arturbosch/detekt/issues/1261) -- Fix formatting issues - [#1259](https://github.com/arturbosch/detekt/pull/1259) -- Fix formatting issues - [#1258](https://github.com/arturbosch/detekt/pull/1258) -- VarCouldBeVal false positive - [#1257](https://github.com/arturbosch/detekt/issues/1257) -- Use PathFilter in TestPattern to make patterns OS independent - [#1256](https://github.com/arturbosch/detekt/pull/1256) -- Run detekt-formatting plugin on detekt itself - [#1255](https://github.com/arturbosch/detekt/pull/1255) -- Travis: oraclejdk10 > openjdk10 - [#1254](https://github.com/arturbosch/detekt/pull/1254) -- Use detekt formatting plugin on detekt - [#1252](https://github.com/arturbosch/detekt/issues/1252) -- Issue with Travis build on JDK 10 - [#1251](https://github.com/arturbosch/detekt/issues/1251) -- Change --filters argument to only check relative paths - [#1250](https://github.com/arturbosch/detekt/pull/1250) -- Add missing reports {} closure in docs - [#1247](https://github.com/arturbosch/detekt/pull/1247) -- Removed `MaximumLineLength` - [#1246](https://github.com/arturbosch/detekt/pull/1246) -- Fixed #1238 - MethodOverloading false positive - [#1244](https://github.com/arturbosch/detekt/pull/1244) -- Improve err message for UnusedPrivateMember distinguish between property/param etc. - [#1243](https://github.com/arturbosch/detekt/issues/1243) -- run travis build on windows and linux - [#1241](https://github.com/arturbosch/detekt/pull/1241) -- AppVeyor: Disable Kotlin's incremental build support - [#1240](https://github.com/arturbosch/detekt/pull/1240) -- AppVeyor: Disable Kotlin incremental compilation - [#1239](https://github.com/arturbosch/detekt/pull/1239) -- MethodOverloading false positive if extension function for different receiver - [#1238](https://github.com/arturbosch/detekt/issues/1238) -- [RFC] activateAll config flag - [#1236](https://github.com/arturbosch/detekt/issues/1236) -- fix test-pattern to support windows path separator - [#1234](https://github.com/arturbosch/detekt/pull/1234) -- Exclude external functions from unused parameter check. - [#1232](https://github.com/arturbosch/detekt/pull/1232) -- AppVeyor: Timeout before deleting Gradle lock file - [#1231](https://github.com/arturbosch/detekt/pull/1231) -- AppVeyor: w: The '-d' option with a directory destination is ignored because '-Xbuild-file' is specified - [#1230](https://github.com/arturbosch/detekt/issues/1230) -- Add unnecessary apply rule - [#1229](https://github.com/arturbosch/detekt/pull/1229) -- Suppress UNUSED_PARAMETER should work as well - [#1228](https://github.com/arturbosch/detekt/issues/1228) -- false positive UnusedPrivateMember for external function - [#1227](https://github.com/arturbosch/detekt/issues/1227) -- CliArgs Doc Change - [#1225](https://github.com/arturbosch/detekt/pull/1225) -- MethodOverloading with wrong line - [#1223](https://github.com/arturbosch/detekt/issues/1223) -- create one detekt task per sourceset - [#1220](https://github.com/arturbosch/detekt/pull/1220) -- [WIP] AppVeyor: Save Gradle cache to the AppVeyor build cache - [#1218](https://github.com/arturbosch/detekt/pull/1218) -- AppVeyor fails downloading dependencies - [#1217](https://github.com/arturbosch/detekt/issues/1217) -- Unsafe cast is wrong - [#1216](https://github.com/arturbosch/detekt/issues/1216) -- Allow for additional aliases to @Suppress rules - [#1215](https://github.com/arturbosch/detekt/issues/1215) -- UnnecessaryApply rule - [#1214](https://github.com/arturbosch/detekt/issues/1214) -- Migrate JUnit tests to Spek - [#1213](https://github.com/arturbosch/detekt/pull/1213) -- Filters apply to absolute paths not relative paths - [#1212](https://github.com/arturbosch/detekt/issues/1212) -- fix gradle plugin link - [#1211](https://github.com/arturbosch/detekt/pull/1211) -- fix gradle plugin link - [#1210](https://github.com/arturbosch/detekt/pull/1210) -- Build: build detekt-cli before running detekt tasks - [#1207](https://github.com/arturbosch/detekt/pull/1207) -- [gradle plugin] test code refactoring - [#1205](https://github.com/arturbosch/detekt/pull/1205) -- Revert "Re-add additional empty check for report paths" - [#1204](https://github.com/arturbosch/detekt/pull/1204) -- Add new style multi-option issue templates - [#1203](https://github.com/arturbosch/detekt/pull/1203) -- clarify error message in verify documentation task - [#1202](https://github.com/arturbosch/detekt/pull/1202) -- Documentation verification requires committing changes but that's not clear - [#1199](https://github.com/arturbosch/detekt/issues/1199) -- Rule `Explicit it lambda parameter` - [#1197](https://github.com/arturbosch/detekt/pull/1197) -- Do not detect parameter name violations in overridden function - [#1196](https://github.com/arturbosch/detekt/pull/1196) -- Fatal error on the android project - Unable to find method 'org.gradle.api.tasks.TaskContainer.register - [#1195](https://github.com/arturbosch/detekt/issues/1195) -- [gradle-plugin] use lazy evaluation of properties - [#1194](https://github.com/arturbosch/detekt/pull/1194) -- Implement lazy configuration for Gradle plugin - [#1193](https://github.com/arturbosch/detekt/issues/1193) -- Revert "Revert "Update dependencies"" - [#1192](https://github.com/arturbosch/detekt/pull/1192) -- Revert "Update dependencies" - [#1191](https://github.com/arturbosch/detekt/pull/1191) -- Change PathSensitivity to RELATIVE - [#1190](https://github.com/arturbosch/detekt/pull/1190) -- Use new GitHub Issue Templates - [#1189](https://github.com/arturbosch/detekt/issues/1189) -- remove gitlab CI config - [#1188](https://github.com/arturbosch/detekt/pull/1188) -- explicitly give KtTestCompiler a filename ending in .kt - [#1187](https://github.com/arturbosch/detekt/pull/1187) -- make OptionalUnit ignore functions in interfaces - [#1186](https://github.com/arturbosch/detekt/pull/1186) -- update kotlin to v1.2.71 - [#1185](https://github.com/arturbosch/detekt/pull/1185) -- Rename Plain reporting to Txt. - [#1184](https://github.com/arturbosch/detekt/pull/1184) -- Allow importing just detekt-gradle-plugin into IDE - [#1183](https://github.com/arturbosch/detekt/pull/1183) -- Update dependencies - [#1182](https://github.com/arturbosch/detekt/pull/1182) -- Gradle Plugin: If tasks are configured eagerly configuration from DetektExtension isn't used - [#1181](https://github.com/arturbosch/detekt/issues/1181) -- Fix build failing to compile on master - [#1180](https://github.com/arturbosch/detekt/pull/1180) -- Master is broken - [#1179](https://github.com/arturbosch/detekt/issues/1179) -- Detekt should not use PathSensitivity.ABSOLUTE for Detekt task - [#1178](https://github.com/arturbosch/detekt/issues/1178) -- Re-remove kotlin-reflect dependency - [#1177](https://github.com/arturbosch/detekt/pull/1177) -- OptionalUnit triggers on a default method in an interface - [#1176](https://github.com/arturbosch/detekt/issues/1176) -- FunctionParameterNaming false positive - [#1175](https://github.com/arturbosch/detekt/issues/1175) -- Migrate all assertions to AssertJ - [#1174](https://github.com/arturbosch/detekt/pull/1174) -- rename configurations of Gradle Plugin to detekt and detektPlugins - [#1173](https://github.com/arturbosch/detekt/pull/1173) -- CI: Test on Java 10 - [#1172](https://github.com/arturbosch/detekt/pull/1172) -- Gradle configuration not respecting configuration in RC9.2 - [#1171](https://github.com/arturbosch/detekt/issues/1171) -- Choose single assertion library and test engine - [#1170](https://github.com/arturbosch/detekt/issues/1170) -- ObjectPropertyNaming should to flag const properties that are not simple types - [#1167](https://github.com/arturbosch/detekt/issues/1167) -- Architecture Compliance Rule - [#1164](https://github.com/arturbosch/detekt/issues/1164) -- Fix typo on getting started docs pages - [#1163](https://github.com/arturbosch/detekt/pull/1163) -- Detekt Gradle Plugin Configurations - [#1162](https://github.com/arturbosch/detekt/issues/1162) -- Gradle Plugin Portal "latest" version incorrect - [#1159](https://github.com/arturbosch/detekt/issues/1159) -- In Travis CI: "0 kotlin files were analyzed." - [#1158](https://github.com/arturbosch/detekt/issues/1158) +- Update regex for private properties in ObjectPropertyNaming to be on pare with intellij - [#1303](https://github.com/detekt/detekt/pull/1303) +- Get rid of jdk classes - [#1302](https://github.com/detekt/detekt/pull/1302) +- Clarification on Use Cases/Limitations - [#1300](https://github.com/detekt/detekt/issues/1300) +- Drop kotlin-dsl plugin from detekt-gradle-plugin - [#1298](https://github.com/detekt/detekt/pull/1298) +- Ask for Gradle version with bug reports - [#1297](https://github.com/detekt/detekt/pull/1297) +- Upgrade to Kotlin 1.3.0 - [#1296](https://github.com/detekt/detekt/pull/1296) +- Ignore FunctionMaxLength by default for tests. - [#1293](https://github.com/detekt/detekt/pull/1293) +- Typealiases for RuleId and RuleSetId - [#1292](https://github.com/detekt/detekt/pull/1292) +- Generate test coverage report and upload to Codecov - [#1291](https://github.com/detekt/detekt/pull/1291) +- Drop FunctionMinLength & FunctionMaxLength - [#1290](https://github.com/detekt/detekt/issues/1290) +- Fix a simple typo in TooManyFunctions rule's description text - [#1289](https://github.com/detekt/detekt/pull/1289) +- [WIP] [POC] Config based aliases - [#1287](https://github.com/detekt/detekt/pull/1287) +- Question: drop kotlin-dsl dependency from Gradle plugin? - [#1286](https://github.com/detekt/detekt/issues/1286) +- Add test coverage report for detekt project - [#1285](https://github.com/detekt/detekt/issues/1285) +- Add test case for reported false positive - #1264 - [#1284](https://github.com/detekt/detekt/pull/1284) +- Depend on open jdk and include openjdk11 - [#1282](https://github.com/detekt/detekt/pull/1282) +- Drop rules that ktlint implements - [#1281](https://github.com/detekt/detekt/issues/1281) +- Readd missing `detekt-rules` dependency for cli to avoid NOP detekt run - [#1280](https://github.com/detekt/detekt/pull/1280) +- Change the way we locate and filter Rules - [#1278](https://github.com/detekt/detekt/issues/1278) +- Gradle plugin: print path reports in output - [#1277](https://github.com/detekt/detekt/issues/1277) +- MagicNumber: Allow 300 by default. - [#1275](https://github.com/detekt/detekt/pull/1275) +- Added tests for PropertyNaming rules - [#1274](https://github.com/detekt/detekt/pull/1274) +- Updated MethodOverloading message - fixed #1223 - [#1273](https://github.com/detekt/detekt/pull/1273) +- Show error messages for unused properties distinguish (#1243) - [#1272](https://github.com/detekt/detekt/pull/1272) +- No BuildFailure for create-baseline - [#1271](https://github.com/detekt/detekt/pull/1271) +- Add rule for detecting arrays of primitive types in function parameters - [#1270](https://github.com/detekt/detekt/pull/1270) +- Split UnnecessaryApply tests - [#1269](https://github.com/detekt/detekt/pull/1269) +- Consider variable to be this prefixed - Closes #1257 - [#1268](https://github.com/detekt/detekt/pull/1268) +- Remove duplicate configurations for reports. - [#1267](https://github.com/detekt/detekt/pull/1267) +- Update ktlint - [#1266](https://github.com/detekt/detekt/pull/1266) +- [Gradle] Don't fail the build if baseline file is missing - [#1265](https://github.com/detekt/detekt/issues/1265) +- false positive unused import - [#1264](https://github.com/detekt/detekt/issues/1264) +- Remove unused baseline - [#1263](https://github.com/detekt/detekt/pull/1263) +- detektBaseline task returns failure on success - [#1261](https://github.com/detekt/detekt/issues/1261) +- Fix formatting issues - [#1259](https://github.com/detekt/detekt/pull/1259) +- Fix formatting issues - [#1258](https://github.com/detekt/detekt/pull/1258) +- VarCouldBeVal false positive - [#1257](https://github.com/detekt/detekt/issues/1257) +- Use PathFilter in TestPattern to make patterns OS independent - [#1256](https://github.com/detekt/detekt/pull/1256) +- Run detekt-formatting plugin on detekt itself - [#1255](https://github.com/detekt/detekt/pull/1255) +- Travis: oraclejdk10 > openjdk10 - [#1254](https://github.com/detekt/detekt/pull/1254) +- Use detekt formatting plugin on detekt - [#1252](https://github.com/detekt/detekt/issues/1252) +- Issue with Travis build on JDK 10 - [#1251](https://github.com/detekt/detekt/issues/1251) +- Change --filters argument to only check relative paths - [#1250](https://github.com/detekt/detekt/pull/1250) +- Add missing reports {} closure in docs - [#1247](https://github.com/detekt/detekt/pull/1247) +- Removed `MaximumLineLength` - [#1246](https://github.com/detekt/detekt/pull/1246) +- Fixed #1238 - MethodOverloading false positive - [#1244](https://github.com/detekt/detekt/pull/1244) +- Improve err message for UnusedPrivateMember distinguish between property/param etc. - [#1243](https://github.com/detekt/detekt/issues/1243) +- run travis build on windows and linux - [#1241](https://github.com/detekt/detekt/pull/1241) +- AppVeyor: Disable Kotlin's incremental build support - [#1240](https://github.com/detekt/detekt/pull/1240) +- AppVeyor: Disable Kotlin incremental compilation - [#1239](https://github.com/detekt/detekt/pull/1239) +- MethodOverloading false positive if extension function for different receiver - [#1238](https://github.com/detekt/detekt/issues/1238) +- [RFC] activateAll config flag - [#1236](https://github.com/detekt/detekt/issues/1236) +- fix test-pattern to support windows path separator - [#1234](https://github.com/detekt/detekt/pull/1234) +- Exclude external functions from unused parameter check. - [#1232](https://github.com/detekt/detekt/pull/1232) +- AppVeyor: Timeout before deleting Gradle lock file - [#1231](https://github.com/detekt/detekt/pull/1231) +- AppVeyor: w: The '-d' option with a directory destination is ignored because '-Xbuild-file' is specified - [#1230](https://github.com/detekt/detekt/issues/1230) +- Add unnecessary apply rule - [#1229](https://github.com/detekt/detekt/pull/1229) +- Suppress UNUSED_PARAMETER should work as well - [#1228](https://github.com/detekt/detekt/issues/1228) +- false positive UnusedPrivateMember for external function - [#1227](https://github.com/detekt/detekt/issues/1227) +- CliArgs Doc Change - [#1225](https://github.com/detekt/detekt/pull/1225) +- MethodOverloading with wrong line - [#1223](https://github.com/detekt/detekt/issues/1223) +- create one detekt task per sourceset - [#1220](https://github.com/detekt/detekt/pull/1220) +- [WIP] AppVeyor: Save Gradle cache to the AppVeyor build cache - [#1218](https://github.com/detekt/detekt/pull/1218) +- AppVeyor fails downloading dependencies - [#1217](https://github.com/detekt/detekt/issues/1217) +- Unsafe cast is wrong - [#1216](https://github.com/detekt/detekt/issues/1216) +- Allow for additional aliases to @Suppress rules - [#1215](https://github.com/detekt/detekt/issues/1215) +- UnnecessaryApply rule - [#1214](https://github.com/detekt/detekt/issues/1214) +- Migrate JUnit tests to Spek - [#1213](https://github.com/detekt/detekt/pull/1213) +- Filters apply to absolute paths not relative paths - [#1212](https://github.com/detekt/detekt/issues/1212) +- fix gradle plugin link - [#1211](https://github.com/detekt/detekt/pull/1211) +- fix gradle plugin link - [#1210](https://github.com/detekt/detekt/pull/1210) +- Build: build detekt-cli before running detekt tasks - [#1207](https://github.com/detekt/detekt/pull/1207) +- [gradle plugin] test code refactoring - [#1205](https://github.com/detekt/detekt/pull/1205) +- Revert "Re-add additional empty check for report paths" - [#1204](https://github.com/detekt/detekt/pull/1204) +- Add new style multi-option issue templates - [#1203](https://github.com/detekt/detekt/pull/1203) +- clarify error message in verify documentation task - [#1202](https://github.com/detekt/detekt/pull/1202) +- Documentation verification requires committing changes but that's not clear - [#1199](https://github.com/detekt/detekt/issues/1199) +- Rule `Explicit it lambda parameter` - [#1197](https://github.com/detekt/detekt/pull/1197) +- Do not detect parameter name violations in overridden function - [#1196](https://github.com/detekt/detekt/pull/1196) +- Fatal error on the android project - Unable to find method 'org.gradle.api.tasks.TaskContainer.register - [#1195](https://github.com/detekt/detekt/issues/1195) +- [gradle-plugin] use lazy evaluation of properties - [#1194](https://github.com/detekt/detekt/pull/1194) +- Implement lazy configuration for Gradle plugin - [#1193](https://github.com/detekt/detekt/issues/1193) +- Revert "Revert "Update dependencies"" - [#1192](https://github.com/detekt/detekt/pull/1192) +- Revert "Update dependencies" - [#1191](https://github.com/detekt/detekt/pull/1191) +- Change PathSensitivity to RELATIVE - [#1190](https://github.com/detekt/detekt/pull/1190) +- Use new GitHub Issue Templates - [#1189](https://github.com/detekt/detekt/issues/1189) +- remove gitlab CI config - [#1188](https://github.com/detekt/detekt/pull/1188) +- explicitly give KtTestCompiler a filename ending in .kt - [#1187](https://github.com/detekt/detekt/pull/1187) +- make OptionalUnit ignore functions in interfaces - [#1186](https://github.com/detekt/detekt/pull/1186) +- update kotlin to v1.2.71 - [#1185](https://github.com/detekt/detekt/pull/1185) +- Rename Plain reporting to Txt. - [#1184](https://github.com/detekt/detekt/pull/1184) +- Allow importing just detekt-gradle-plugin into IDE - [#1183](https://github.com/detekt/detekt/pull/1183) +- Update dependencies - [#1182](https://github.com/detekt/detekt/pull/1182) +- Gradle Plugin: If tasks are configured eagerly configuration from DetektExtension isn't used - [#1181](https://github.com/detekt/detekt/issues/1181) +- Fix build failing to compile on master - [#1180](https://github.com/detekt/detekt/pull/1180) +- Master is broken - [#1179](https://github.com/detekt/detekt/issues/1179) +- Detekt should not use PathSensitivity.ABSOLUTE for Detekt task - [#1178](https://github.com/detekt/detekt/issues/1178) +- Re-remove kotlin-reflect dependency - [#1177](https://github.com/detekt/detekt/pull/1177) +- OptionalUnit triggers on a default method in an interface - [#1176](https://github.com/detekt/detekt/issues/1176) +- FunctionParameterNaming false positive - [#1175](https://github.com/detekt/detekt/issues/1175) +- Migrate all assertions to AssertJ - [#1174](https://github.com/detekt/detekt/pull/1174) +- rename configurations of Gradle Plugin to detekt and detektPlugins - [#1173](https://github.com/detekt/detekt/pull/1173) +- CI: Test on Java 10 - [#1172](https://github.com/detekt/detekt/pull/1172) +- Gradle configuration not respecting configuration in RC9.2 - [#1171](https://github.com/detekt/detekt/issues/1171) +- Choose single assertion library and test engine - [#1170](https://github.com/detekt/detekt/issues/1170) +- ObjectPropertyNaming should to flag const properties that are not simple types - [#1167](https://github.com/detekt/detekt/issues/1167) +- Architecture Compliance Rule - [#1164](https://github.com/detekt/detekt/issues/1164) +- Fix typo on getting started docs pages - [#1163](https://github.com/detekt/detekt/pull/1163) +- Detekt Gradle Plugin Configurations - [#1162](https://github.com/detekt/detekt/issues/1162) +- Gradle Plugin Portal "latest" version incorrect - [#1159](https://github.com/detekt/detekt/issues/1159) +- In Travis CI: "0 kotlin files were analyzed." - [#1158](https://github.com/detekt/detekt/issues/1158) -See all issues at: [RC10](https://github.com/arturbosch/detekt/milestone/39) +See all issues at: [RC10](https://github.com/detekt/detekt/milestone/39) #### RC9.2 @@ -485,50 +485,50 @@ Also take a look at the migration section of RC9 if you are < RC9. ##### Changelog -- Revert change to ignoreNamedArguments - Closes #1115 - [#1157](https://github.com/arturbosch/detekt/pull/1157) -- Rename config and id of ConfigAware - [#1156](https://github.com/arturbosch/detekt/pull/1156) -- Add test case for parameter annotations - Closes #1115 - [#1155](https://github.com/arturbosch/detekt/pull/1155) -- use correct instance of valueOrDefault in FormattingRule - [#1154](https://github.com/arturbosch/detekt/pull/1154) -- Make `config` property in `Rule` effectively private - [#1153](https://github.com/arturbosch/detekt/issues/1153) -- Use correct accessor method for config in LazyRegex - [#1152](https://github.com/arturbosch/detekt/pull/1152) -- print test outcome for debugging during the build - [#1150](https://github.com/arturbosch/detekt/pull/1150) -- Fix Gradle Plugin Tests - [#1148](https://github.com/arturbosch/detekt/pull/1148) -- Prevent overwriting of defaultDependency detekt-cli by additional detekt dependencies - [#1147](https://github.com/arturbosch/detekt/pull/1147) -- Fix issue with wrong report name - [#1145](https://github.com/arturbosch/detekt/pull/1145) -- Set group to Detekt task - [#1144](https://github.com/arturbosch/detekt/pull/1144) -- Running RC9 gradlew detekt crashes with detekt-formatting included - [#1143](https://github.com/arturbosch/detekt/issues/1143) -- The IntelliJ IDEA plugin does not define the settings from the Gradle - [#1142](https://github.com/arturbosch/detekt/issues/1142) -- RC9 creates files called "C" with tags inside - [#1141](https://github.com/arturbosch/detekt/issues/1141) -- Sample / demo code? - [#1140](https://github.com/arturbosch/detekt/issues/1140) -- Reimplement watch service - [#1139](https://github.com/arturbosch/detekt/pull/1139) -- RC9 not working with gradle 4.4 - [#1136](https://github.com/arturbosch/detekt/issues/1136) -- Fix issue when multiple input files are specified - [#1134](https://github.com/arturbosch/detekt/pull/1134) -- Nested functions not reported by FunctionNaming - [#1133](https://github.com/arturbosch/detekt/issues/1133) -- #1122/Add tests for ObjectPropertyNaming for private val overrides - [#1130](https://github.com/arturbosch/detekt/pull/1130) -- #1120/Ignore naming of overridden functions and properties - [#1129](https://github.com/arturbosch/detekt/pull/1129) -- Upload JUnit test results to AppVeyor - [#1128](https://github.com/arturbosch/detekt/pull/1128) -- 1125/Allow spaces in CLI filters param - [#1127](https://github.com/arturbosch/detekt/pull/1127) -- detektCheck starts failing - Was passed main parameter '--output' but no main parameter was defined in your arg class - [#1126](https://github.com/arturbosch/detekt/issues/1126) -- Spaces around separators in CLI input filters break filters - [#1125](https://github.com/arturbosch/detekt/issues/1125) -- HTML report created at the wrong place - [#1123](https://github.com/arturbosch/detekt/issues/1123) -- ObjectPropertyNaming/privatePropertyPattern not loaded from configuration - [#1122](https://github.com/arturbosch/detekt/issues/1122) -- Missing GitHub release & tag for RC9 - [#1121](https://github.com/arturbosch/detekt/issues/1121) -- FunctionNaming should exclude overridden functions - [#1120](https://github.com/arturbosch/detekt/issues/1120) -- Use plugin version as default Detekt version - [#1119](https://github.com/arturbosch/detekt/pull/1119) -- Remove hardcoded default version in Detekt Gradle Plugin - [#1118](https://github.com/arturbosch/detekt/issues/1118) -- Documented version not available in gradle plugins - [#1117](https://github.com/arturbosch/detekt/issues/1117) -- MagicNumber regression with RC9 in Annotation methods - [#1115](https://github.com/arturbosch/detekt/issues/1115) -- IndexOutOfBoundsException when changing --output to --report with RC9 - [#1114](https://github.com/arturbosch/detekt/issues/1114) -- Updated contributors list - [#1112](https://github.com/arturbosch/detekt/pull/1112) -- update Gradle to v4.10.1 - [#1109](https://github.com/arturbosch/detekt/pull/1109) -- Print stacktraces recursively - Closes #1107 - [#1108](https://github.com/arturbosch/detekt/pull/1108) -- Detektor doesn't print stack trace causes which makes debugging difficult - [#1107](https://github.com/arturbosch/detekt/issues/1107) -- Delete a bunch of files from the docs directory - [#1106](https://github.com/arturbosch/detekt/pull/1106) -- use KtImportDirective instead of KtImportList for ForbiddenImport - [#1105](https://github.com/arturbosch/detekt/pull/1105) -- Reference vcsreader repo via GrabResolver - Fixes #1101 - [#1104](https://github.com/arturbosch/detekt/pull/1104) -- org.vcsreader:vcsreader:1.1.0 does not exist - [#1101](https://github.com/arturbosch/detekt/issues/1101) +- Revert change to ignoreNamedArguments - Closes #1115 - [#1157](https://github.com/detekt/detekt/pull/1157) +- Rename config and id of ConfigAware - [#1156](https://github.com/detekt/detekt/pull/1156) +- Add test case for parameter annotations - Closes #1115 - [#1155](https://github.com/detekt/detekt/pull/1155) +- use correct instance of valueOrDefault in FormattingRule - [#1154](https://github.com/detekt/detekt/pull/1154) +- Make `config` property in `Rule` effectively private - [#1153](https://github.com/detekt/detekt/issues/1153) +- Use correct accessor method for config in LazyRegex - [#1152](https://github.com/detekt/detekt/pull/1152) +- print test outcome for debugging during the build - [#1150](https://github.com/detekt/detekt/pull/1150) +- Fix Gradle Plugin Tests - [#1148](https://github.com/detekt/detekt/pull/1148) +- Prevent overwriting of defaultDependency detekt-cli by additional detekt dependencies - [#1147](https://github.com/detekt/detekt/pull/1147) +- Fix issue with wrong report name - [#1145](https://github.com/detekt/detekt/pull/1145) +- Set group to Detekt task - [#1144](https://github.com/detekt/detekt/pull/1144) +- Running RC9 gradlew detekt crashes with detekt-formatting included - [#1143](https://github.com/detekt/detekt/issues/1143) +- The IntelliJ IDEA plugin does not define the settings from the Gradle - [#1142](https://github.com/detekt/detekt/issues/1142) +- RC9 creates files called "C" with tags inside - [#1141](https://github.com/detekt/detekt/issues/1141) +- Sample / demo code? - [#1140](https://github.com/detekt/detekt/issues/1140) +- Reimplement watch service - [#1139](https://github.com/detekt/detekt/pull/1139) +- RC9 not working with gradle 4.4 - [#1136](https://github.com/detekt/detekt/issues/1136) +- Fix issue when multiple input files are specified - [#1134](https://github.com/detekt/detekt/pull/1134) +- Nested functions not reported by FunctionNaming - [#1133](https://github.com/detekt/detekt/issues/1133) +- #1122/Add tests for ObjectPropertyNaming for private val overrides - [#1130](https://github.com/detekt/detekt/pull/1130) +- #1120/Ignore naming of overridden functions and properties - [#1129](https://github.com/detekt/detekt/pull/1129) +- Upload JUnit test results to AppVeyor - [#1128](https://github.com/detekt/detekt/pull/1128) +- 1125/Allow spaces in CLI filters param - [#1127](https://github.com/detekt/detekt/pull/1127) +- detektCheck starts failing - Was passed main parameter '--output' but no main parameter was defined in your arg class - [#1126](https://github.com/detekt/detekt/issues/1126) +- Spaces around separators in CLI input filters break filters - [#1125](https://github.com/detekt/detekt/issues/1125) +- HTML report created at the wrong place - [#1123](https://github.com/detekt/detekt/issues/1123) +- ObjectPropertyNaming/privatePropertyPattern not loaded from configuration - [#1122](https://github.com/detekt/detekt/issues/1122) +- Missing GitHub release & tag for RC9 - [#1121](https://github.com/detekt/detekt/issues/1121) +- FunctionNaming should exclude overridden functions - [#1120](https://github.com/detekt/detekt/issues/1120) +- Use plugin version as default Detekt version - [#1119](https://github.com/detekt/detekt/pull/1119) +- Remove hardcoded default version in Detekt Gradle Plugin - [#1118](https://github.com/detekt/detekt/issues/1118) +- Documented version not available in gradle plugins - [#1117](https://github.com/detekt/detekt/issues/1117) +- MagicNumber regression with RC9 in Annotation methods - [#1115](https://github.com/detekt/detekt/issues/1115) +- IndexOutOfBoundsException when changing --output to --report with RC9 - [#1114](https://github.com/detekt/detekt/issues/1114) +- Updated contributors list - [#1112](https://github.com/detekt/detekt/pull/1112) +- update Gradle to v4.10.1 - [#1109](https://github.com/detekt/detekt/pull/1109) +- Print stacktraces recursively - Closes #1107 - [#1108](https://github.com/detekt/detekt/pull/1108) +- Detektor doesn't print stack trace causes which makes debugging difficult - [#1107](https://github.com/detekt/detekt/issues/1107) +- Delete a bunch of files from the docs directory - [#1106](https://github.com/detekt/detekt/pull/1106) +- use KtImportDirective instead of KtImportList for ForbiddenImport - [#1105](https://github.com/detekt/detekt/pull/1105) +- Reference vcsreader repo via GrabResolver - Fixes #1101 - [#1104](https://github.com/detekt/detekt/pull/1104) +- org.vcsreader:vcsreader:1.1.0 does not exist - [#1101](https://github.com/detekt/detekt/issues/1101) -See all issues at: [RC9.2](https://github.com/arturbosch/detekt/milestone/38) +See all issues at: [RC9.2](https://github.com/detekt/detekt/milestone/38) #### RC9 @@ -625,328 +625,328 @@ There are three provided output reports named: `plain`, `xml` and `html`. Custom ##### Changes -- fix false positive in UnnecessaryParentheses - [#1098](https://github.com/arturbosch/detekt/pull/1098) -- remove duplicated `detekt` in readme - [#1097](https://github.com/arturbosch/detekt/pull/1097) -- use debug flag for printing outputs in gradle plugin - [#1096](https://github.com/arturbosch/detekt/pull/1096) -- update documentation to use new detekt gradle plugin - [#1095](https://github.com/arturbosch/detekt/pull/1095) -- remove img/ directory and link to docs images - [#1094](https://github.com/arturbosch/detekt/pull/1094) -- Update "Features" section of the README.md and documentation - [#1093](https://github.com/arturbosch/detekt/pull/1093) -- Allow to use kotlin.Any? - #1085 - [#1092](https://github.com/arturbosch/detekt/pull/1092) -- UnnecessaryAbstractClass: Support exclusion via Annotations. - [#1091](https://github.com/arturbosch/detekt/pull/1091) -- Auto deploy SNAPSHOT versions. - [#1088](https://github.com/arturbosch/detekt/pull/1088) -- MaxLineLength: Ignore comments that end with a long url. - [#1087](https://github.com/arturbosch/detekt/pull/1087) -- Move Issue template & Pull Request template into .github directory. - [#1086](https://github.com/arturbosch/detekt/pull/1086) -- EqualsWithHashCodeExist false positives - [#1085](https://github.com/arturbosch/detekt/issues/1085) -- Feature #1047 OptionalUnit - [#1084](https://github.com/arturbosch/detekt/pull/1084) -- Replace Regex with LazyRegex in Rules - [#1083](https://github.com/arturbosch/detekt/pull/1083) -- Invalid line value on TrailingWhitespace error with gradle - [#1082](https://github.com/arturbosch/detekt/issues/1082) -- Lazy regex evaluation on Rules - [#1080](https://github.com/arturbosch/detekt/pull/1080) -- Merge gradle plugin rework - [#1079](https://github.com/arturbosch/detekt/pull/1079) -- Fixed typo line:35 from diffently to differently - [#1076](https://github.com/arturbosch/detekt/pull/1076) -- Stuff RC8 - [#1074](https://github.com/arturbosch/detekt/pull/1074) -- Fixed #1065 - ThrowingExceptionsWithoutMessageOrCause assert - [#1073](https://github.com/arturbosch/detekt/pull/1073) -- re-add useJUnitPlatform - [#1071](https://github.com/arturbosch/detekt/pull/1071) -- MaxLineLength should ignore link only comments by default - [#1070](https://github.com/arturbosch/detekt/issues/1070) -- Detekt MagicNumber ignoreHashCodeFunction on by default - [#1069](https://github.com/arturbosch/detekt/issues/1069) -- MaxLineLength should ignore import statements by default - [#1068](https://github.com/arturbosch/detekt/issues/1068) -- NoTabs Ignore in strings - [#1067](https://github.com/arturbosch/detekt/issues/1067) -- ThrowingExceptionsWithoutMessageOrCause false positive - [#1065](https://github.com/arturbosch/detekt/issues/1065) -- Unknown exception thrown when running detekt - [#1064](https://github.com/arturbosch/detekt/issues/1064) -- Juggling between `CollapsibleIfStatements` and `ComplexCondition` - [#1063](https://github.com/arturbosch/detekt/issues/1063) -- Make "ComplexMethod" rule also ignore "return when" if configured - [#1062](https://github.com/arturbosch/detekt/pull/1062) -- Improvement #1055 MagicNumber - [#1061](https://github.com/arturbosch/detekt/pull/1061) -- Improvement #1056 TooGenericExceptionCaught - [#1060](https://github.com/arturbosch/detekt/pull/1060) -- Add ForbiddenVoid rule - [#1059](https://github.com/arturbosch/detekt/pull/1059) -- Forbid usage of Void - [#1058](https://github.com/arturbosch/detekt/issues/1058) -- DetektCheck only for git commiting files? - [#1057](https://github.com/arturbosch/detekt/issues/1057) -- TooGenericExceptionCaught should not be reported if the name is ignored - [#1056](https://github.com/arturbosch/detekt/issues/1056) -- False positive with MagicNumber on default value for parameters - [#1055](https://github.com/arturbosch/detekt/issues/1055) -- ComplexMethod should treat "return when" as "single when" expression when ignoring - [#1054](https://github.com/arturbosch/detekt/issues/1054) -- CLI description says only single config file supported - [#1053](https://github.com/arturbosch/detekt/issues/1053) -- Reworked NoTabs rule - [#1052](https://github.com/arturbosch/detekt/pull/1052) -- False positive: Unnecessary parentheses for functions with two function parameters - [#1051](https://github.com/arturbosch/detekt/issues/1051) -- Fixed #932 - Updated documentation for configuring detekt using kotlin-dsl - [#1050](https://github.com/arturbosch/detekt/pull/1050) -- Fix #1043 UtilityClassWithPublicConstructor - [#1049](https://github.com/arturbosch/detekt/pull/1049) -- Reworked UnconditionalJumpStatementInLoop - [#1048](https://github.com/arturbosch/detekt/pull/1048) -- OptionalUnit - lone Unit statement - [#1047](https://github.com/arturbosch/detekt/issues/1047) -- Add ParameterNaming rules for Constructors and Functions parameters - [#1046](https://github.com/arturbosch/detekt/pull/1046) -- Cannot generate baseline file - [#1044](https://github.com/arturbosch/detekt/issues/1044) -- Detekt reports classes with only constructors as UtilityClassWithPublicConstructor - [#1043](https://github.com/arturbosch/detekt/issues/1043) -- Fixed #1039 - Indentation and MaximumLineLength configuration paramet… - [#1042](https://github.com/arturbosch/detekt/pull/1042) -- RC8 patch - Updated rule config option and description - [#1041](https://github.com/arturbosch/detekt/pull/1041) -- Changing indentation settings is not effective - [#1039](https://github.com/arturbosch/detekt/issues/1039) -- Fixes Gradle plugin badge version - [#1038](https://github.com/arturbosch/detekt/pull/1038) -- Update LabeledExpression to support outer class refs - [#1036](https://github.com/arturbosch/detekt/pull/1036) -- Removed FeatureEnvy test case - [#1035](https://github.com/arturbosch/detekt/pull/1035) -- OptionalUnit update - [#1034](https://github.com/arturbosch/detekt/pull/1034) -- Fix incorrect line number in TrailingWhitespace - [#1033](https://github.com/arturbosch/detekt/pull/1033) -- Fix RuleProvider - [#1032](https://github.com/arturbosch/detekt/pull/1032) -- Update kotlin version to 1.2.60 - [#1031](https://github.com/arturbosch/detekt/pull/1031) -- TrailingWhitespace reports incorrect line number - [#1030](https://github.com/arturbosch/detekt/issues/1030) -- Tests are not run when using the CLI - [#1029](https://github.com/arturbosch/detekt/issues/1029) -- Fix #1027 - FunctionOnlyReturningConstant - [#1028](https://github.com/arturbosch/detekt/pull/1028) -- FunctionOnlyReturningConstant false positive for interfaces with default implementations - [#1027](https://github.com/arturbosch/detekt/issues/1027) -- Refactor ObjectPropertyNaming - [#1026](https://github.com/arturbosch/detekt/pull/1026) -- InstanceOfCheckForException being too general - [#1025](https://github.com/arturbosch/detekt/pull/1025) -- Add serialVersionUID to UnusedPrivateMember.allowedNames - [#1024](https://github.com/arturbosch/detekt/pull/1024) -- Ignore tabs in raw strings (""") for NoTabs? - [#1023](https://github.com/arturbosch/detekt/issues/1023) -- InstanceOfCheckForException being too general - [#1022](https://github.com/arturbosch/detekt/issues/1022) -- How to run "autoCorrect" - [#1021](https://github.com/arturbosch/detekt/issues/1021) -- Fix typo in KDoc of UnnecessaryAbstractClass - [#1020](https://github.com/arturbosch/detekt/pull/1020) -- Windows 10 : getting error while configuring detekt plugin - [#1019](https://github.com/arturbosch/detekt/issues/1019) -- Analyze issue #1014 - [#1018](https://github.com/arturbosch/detekt/pull/1018) -- Mr/gradle classes - [#1017](https://github.com/arturbosch/detekt/pull/1017) -- Change description of TopLevelPropertyNaming rule - [#1015](https://github.com/arturbosch/detekt/pull/1015) -- 'super.visitNamedDeclaration()' is not invoked in the short-circuit case - [#1014](https://github.com/arturbosch/detekt/issues/1014) -- Replace // with # in yaml code - [#1013](https://github.com/arturbosch/detekt/pull/1013) -- Activate rules in failfast.yml part3 - [#1004](https://github.com/arturbosch/detekt/pull/1004) -- UnnecessaryParentheses: Allow to use parenthesis when in math expression with mixed operators - [#969](https://github.com/arturbosch/detekt/issues/969) -- 1.0.0-RC7-2 is not published to gradlePluginPortal() - [#967](https://github.com/arturbosch/detekt/issues/967) +- fix false positive in UnnecessaryParentheses - [#1098](https://github.com/detekt/detekt/pull/1098) +- remove duplicated `detekt` in readme - [#1097](https://github.com/detekt/detekt/pull/1097) +- use debug flag for printing outputs in gradle plugin - [#1096](https://github.com/detekt/detekt/pull/1096) +- update documentation to use new detekt gradle plugin - [#1095](https://github.com/detekt/detekt/pull/1095) +- remove img/ directory and link to docs images - [#1094](https://github.com/detekt/detekt/pull/1094) +- Update "Features" section of the README.md and documentation - [#1093](https://github.com/detekt/detekt/pull/1093) +- Allow to use kotlin.Any? - #1085 - [#1092](https://github.com/detekt/detekt/pull/1092) +- UnnecessaryAbstractClass: Support exclusion via Annotations. - [#1091](https://github.com/detekt/detekt/pull/1091) +- Auto deploy SNAPSHOT versions. - [#1088](https://github.com/detekt/detekt/pull/1088) +- MaxLineLength: Ignore comments that end with a long url. - [#1087](https://github.com/detekt/detekt/pull/1087) +- Move Issue template & Pull Request template into .github directory. - [#1086](https://github.com/detekt/detekt/pull/1086) +- EqualsWithHashCodeExist false positives - [#1085](https://github.com/detekt/detekt/issues/1085) +- Feature #1047 OptionalUnit - [#1084](https://github.com/detekt/detekt/pull/1084) +- Replace Regex with LazyRegex in Rules - [#1083](https://github.com/detekt/detekt/pull/1083) +- Invalid line value on TrailingWhitespace error with gradle - [#1082](https://github.com/detekt/detekt/issues/1082) +- Lazy regex evaluation on Rules - [#1080](https://github.com/detekt/detekt/pull/1080) +- Merge gradle plugin rework - [#1079](https://github.com/detekt/detekt/pull/1079) +- Fixed typo line:35 from diffently to differently - [#1076](https://github.com/detekt/detekt/pull/1076) +- Stuff RC8 - [#1074](https://github.com/detekt/detekt/pull/1074) +- Fixed #1065 - ThrowingExceptionsWithoutMessageOrCause assert - [#1073](https://github.com/detekt/detekt/pull/1073) +- re-add useJUnitPlatform - [#1071](https://github.com/detekt/detekt/pull/1071) +- MaxLineLength should ignore link only comments by default - [#1070](https://github.com/detekt/detekt/issues/1070) +- Detekt MagicNumber ignoreHashCodeFunction on by default - [#1069](https://github.com/detekt/detekt/issues/1069) +- MaxLineLength should ignore import statements by default - [#1068](https://github.com/detekt/detekt/issues/1068) +- NoTabs Ignore in strings - [#1067](https://github.com/detekt/detekt/issues/1067) +- ThrowingExceptionsWithoutMessageOrCause false positive - [#1065](https://github.com/detekt/detekt/issues/1065) +- Unknown exception thrown when running detekt - [#1064](https://github.com/detekt/detekt/issues/1064) +- Juggling between `CollapsibleIfStatements` and `ComplexCondition` - [#1063](https://github.com/detekt/detekt/issues/1063) +- Make "ComplexMethod" rule also ignore "return when" if configured - [#1062](https://github.com/detekt/detekt/pull/1062) +- Improvement #1055 MagicNumber - [#1061](https://github.com/detekt/detekt/pull/1061) +- Improvement #1056 TooGenericExceptionCaught - [#1060](https://github.com/detekt/detekt/pull/1060) +- Add ForbiddenVoid rule - [#1059](https://github.com/detekt/detekt/pull/1059) +- Forbid usage of Void - [#1058](https://github.com/detekt/detekt/issues/1058) +- DetektCheck only for git commiting files? - [#1057](https://github.com/detekt/detekt/issues/1057) +- TooGenericExceptionCaught should not be reported if the name is ignored - [#1056](https://github.com/detekt/detekt/issues/1056) +- False positive with MagicNumber on default value for parameters - [#1055](https://github.com/detekt/detekt/issues/1055) +- ComplexMethod should treat "return when" as "single when" expression when ignoring - [#1054](https://github.com/detekt/detekt/issues/1054) +- CLI description says only single config file supported - [#1053](https://github.com/detekt/detekt/issues/1053) +- Reworked NoTabs rule - [#1052](https://github.com/detekt/detekt/pull/1052) +- False positive: Unnecessary parentheses for functions with two function parameters - [#1051](https://github.com/detekt/detekt/issues/1051) +- Fixed #932 - Updated documentation for configuring detekt using kotlin-dsl - [#1050](https://github.com/detekt/detekt/pull/1050) +- Fix #1043 UtilityClassWithPublicConstructor - [#1049](https://github.com/detekt/detekt/pull/1049) +- Reworked UnconditionalJumpStatementInLoop - [#1048](https://github.com/detekt/detekt/pull/1048) +- OptionalUnit - lone Unit statement - [#1047](https://github.com/detekt/detekt/issues/1047) +- Add ParameterNaming rules for Constructors and Functions parameters - [#1046](https://github.com/detekt/detekt/pull/1046) +- Cannot generate baseline file - [#1044](https://github.com/detekt/detekt/issues/1044) +- Detekt reports classes with only constructors as UtilityClassWithPublicConstructor - [#1043](https://github.com/detekt/detekt/issues/1043) +- Fixed #1039 - Indentation and MaximumLineLength configuration paramet… - [#1042](https://github.com/detekt/detekt/pull/1042) +- RC8 patch - Updated rule config option and description - [#1041](https://github.com/detekt/detekt/pull/1041) +- Changing indentation settings is not effective - [#1039](https://github.com/detekt/detekt/issues/1039) +- Fixes Gradle plugin badge version - [#1038](https://github.com/detekt/detekt/pull/1038) +- Update LabeledExpression to support outer class refs - [#1036](https://github.com/detekt/detekt/pull/1036) +- Removed FeatureEnvy test case - [#1035](https://github.com/detekt/detekt/pull/1035) +- OptionalUnit update - [#1034](https://github.com/detekt/detekt/pull/1034) +- Fix incorrect line number in TrailingWhitespace - [#1033](https://github.com/detekt/detekt/pull/1033) +- Fix RuleProvider - [#1032](https://github.com/detekt/detekt/pull/1032) +- Update kotlin version to 1.2.60 - [#1031](https://github.com/detekt/detekt/pull/1031) +- TrailingWhitespace reports incorrect line number - [#1030](https://github.com/detekt/detekt/issues/1030) +- Tests are not run when using the CLI - [#1029](https://github.com/detekt/detekt/issues/1029) +- Fix #1027 - FunctionOnlyReturningConstant - [#1028](https://github.com/detekt/detekt/pull/1028) +- FunctionOnlyReturningConstant false positive for interfaces with default implementations - [#1027](https://github.com/detekt/detekt/issues/1027) +- Refactor ObjectPropertyNaming - [#1026](https://github.com/detekt/detekt/pull/1026) +- InstanceOfCheckForException being too general - [#1025](https://github.com/detekt/detekt/pull/1025) +- Add serialVersionUID to UnusedPrivateMember.allowedNames - [#1024](https://github.com/detekt/detekt/pull/1024) +- Ignore tabs in raw strings (""") for NoTabs? - [#1023](https://github.com/detekt/detekt/issues/1023) +- InstanceOfCheckForException being too general - [#1022](https://github.com/detekt/detekt/issues/1022) +- How to run "autoCorrect" - [#1021](https://github.com/detekt/detekt/issues/1021) +- Fix typo in KDoc of UnnecessaryAbstractClass - [#1020](https://github.com/detekt/detekt/pull/1020) +- Windows 10 : getting error while configuring detekt plugin - [#1019](https://github.com/detekt/detekt/issues/1019) +- Analyze issue #1014 - [#1018](https://github.com/detekt/detekt/pull/1018) +- Mr/gradle classes - [#1017](https://github.com/detekt/detekt/pull/1017) +- Change description of TopLevelPropertyNaming rule - [#1015](https://github.com/detekt/detekt/pull/1015) +- 'super.visitNamedDeclaration()' is not invoked in the short-circuit case - [#1014](https://github.com/detekt/detekt/issues/1014) +- Replace // with # in yaml code - [#1013](https://github.com/detekt/detekt/pull/1013) +- Activate rules in failfast.yml part3 - [#1004](https://github.com/detekt/detekt/pull/1004) +- UnnecessaryParentheses: Allow to use parenthesis when in math expression with mixed operators - [#969](https://github.com/detekt/detekt/issues/969) +- 1.0.0-RC7-2 is not published to gradlePluginPortal() - [#967](https://github.com/detekt/detekt/issues/967) -See all issues at: [RC9](https://github.com/arturbosch/detekt/milestone/36) +See all issues at: [RC9](https://github.com/detekt/detekt/milestone/36) #### RC8 -- Prepare rc8 - [#1011](https://github.com/arturbosch/detekt/pull/1011) -- Feature 'aliases documentation' - [#1008](https://github.com/arturbosch/detekt/pull/1008) -- Add another missing space - [#1006](https://github.com/arturbosch/detekt/pull/1006) -- Add a missing space - [#1005](https://github.com/arturbosch/detekt/pull/1005) -- Add prefix wildcard to SplitPattern - [#1002](https://github.com/arturbosch/detekt/pull/1002) -- Specify both prefix and suffix wildcard for ForbiddenImport pattern - [#1001](https://github.com/arturbosch/detekt/issues/1001) -- Flag empty nested functions - fixes #998 - [#999](https://github.com/arturbosch/detekt/pull/999) -- EmptyFunctionBlock should flag empty functions defined inside other functions - [#998](https://github.com/arturbosch/detekt/issues/998) -- UnusedImports: Add test for inner classes in same package - [#997](https://github.com/arturbosch/detekt/pull/997) -- Refactor ProfileStorage to be no singleton anymore - Fixes #980 - [#996](https://github.com/arturbosch/detekt/pull/996) -- Fix false positive lambda in constructor call - Fixes #990 - [#995](https://github.com/arturbosch/detekt/pull/995) -- Fix magic number report for named constructor calls - Fixes #992 - [#994](https://github.com/arturbosch/detekt/pull/994) -- magic number ignoreNamedArgument not working with inheriting abstract class - [#992](https://github.com/arturbosch/detekt/issues/992) -- Fix to work on maven multi-module project - [#991](https://github.com/arturbosch/detekt/pull/991) -- False positive UnnecessaryParentheses on constructors with lambdas - [#990](https://github.com/arturbosch/detekt/issues/990) -- UnusedImports: Add detection of imports in same package - [#989](https://github.com/arturbosch/detekt/pull/989) -- Document formatting rule set - Closes #925 - [#988](https://github.com/arturbosch/detekt/pull/988) -- Use ktlint for selfanalysis - [#987](https://github.com/arturbosch/detekt/pull/987) -- Refactor UnusedImports rule - [#986](https://github.com/arturbosch/detekt/pull/986) -- UnusedImports: False negative when importing class in same package - [#985](https://github.com/arturbosch/detekt/issues/985) -- Update kotlin version to 1.2.51 - [#984](https://github.com/arturbosch/detekt/pull/984) -- UnusedPrivateMember rule in abstract functions - [#983](https://github.com/arturbosch/detekt/issues/983) -- Mention --run-rule option and get_analysis_projects script - [#982](https://github.com/arturbosch/detekt/pull/982) -- Activate rules in failfast.yml part2 - [#981](https://github.com/arturbosch/detekt/pull/981) -- Detekt RC 7-3 checks the wrong Gradle module - [#980](https://github.com/arturbosch/detekt/issues/980) -- Add `aliases` to rules' documentations - [#979](https://github.com/arturbosch/detekt/issues/979) -- New rule: VarCouldBeVal - [#978](https://github.com/arturbosch/detekt/pull/978) -- Fix ExpressionBodySyntax when multiline expression - [#977](https://github.com/arturbosch/detekt/pull/977) -- ExpressionBodySyntax: false positive with includeLineWrapping in multiline expression - [#976](https://github.com/arturbosch/detekt/issues/976) -- Activate rules in failfast.yml - [#975](https://github.com/arturbosch/detekt/pull/975) -- UnusedPrivateMember: do not report unused parameters in abstract/open functions - [#973](https://github.com/arturbosch/detekt/pull/973) -- UnusedPrivateMember: Incorrectly reports unused params in open/abstract functions - [#972](https://github.com/arturbosch/detekt/issues/972) -- Use detekt 7-3 in self analysis - [#971](https://github.com/arturbosch/detekt/pull/971) -- UnnecessaryParentheses false positive when using extension function with default parameter - [#927](https://github.com/arturbosch/detekt/issues/927) -- Running ktlint formatting on every build - [#823](https://github.com/arturbosch/detekt/issues/823) +- Prepare rc8 - [#1011](https://github.com/detekt/detekt/pull/1011) +- Feature 'aliases documentation' - [#1008](https://github.com/detekt/detekt/pull/1008) +- Add another missing space - [#1006](https://github.com/detekt/detekt/pull/1006) +- Add a missing space - [#1005](https://github.com/detekt/detekt/pull/1005) +- Add prefix wildcard to SplitPattern - [#1002](https://github.com/detekt/detekt/pull/1002) +- Specify both prefix and suffix wildcard for ForbiddenImport pattern - [#1001](https://github.com/detekt/detekt/issues/1001) +- Flag empty nested functions - fixes #998 - [#999](https://github.com/detekt/detekt/pull/999) +- EmptyFunctionBlock should flag empty functions defined inside other functions - [#998](https://github.com/detekt/detekt/issues/998) +- UnusedImports: Add test for inner classes in same package - [#997](https://github.com/detekt/detekt/pull/997) +- Refactor ProfileStorage to be no singleton anymore - Fixes #980 - [#996](https://github.com/detekt/detekt/pull/996) +- Fix false positive lambda in constructor call - Fixes #990 - [#995](https://github.com/detekt/detekt/pull/995) +- Fix magic number report for named constructor calls - Fixes #992 - [#994](https://github.com/detekt/detekt/pull/994) +- magic number ignoreNamedArgument not working with inheriting abstract class - [#992](https://github.com/detekt/detekt/issues/992) +- Fix to work on maven multi-module project - [#991](https://github.com/detekt/detekt/pull/991) +- False positive UnnecessaryParentheses on constructors with lambdas - [#990](https://github.com/detekt/detekt/issues/990) +- UnusedImports: Add detection of imports in same package - [#989](https://github.com/detekt/detekt/pull/989) +- Document formatting rule set - Closes #925 - [#988](https://github.com/detekt/detekt/pull/988) +- Use ktlint for selfanalysis - [#987](https://github.com/detekt/detekt/pull/987) +- Refactor UnusedImports rule - [#986](https://github.com/detekt/detekt/pull/986) +- UnusedImports: False negative when importing class in same package - [#985](https://github.com/detekt/detekt/issues/985) +- Update kotlin version to 1.2.51 - [#984](https://github.com/detekt/detekt/pull/984) +- UnusedPrivateMember rule in abstract functions - [#983](https://github.com/detekt/detekt/issues/983) +- Mention --run-rule option and get_analysis_projects script - [#982](https://github.com/detekt/detekt/pull/982) +- Activate rules in failfast.yml part2 - [#981](https://github.com/detekt/detekt/pull/981) +- Detekt RC 7-3 checks the wrong Gradle module - [#980](https://github.com/detekt/detekt/issues/980) +- Add `aliases` to rules' documentations - [#979](https://github.com/detekt/detekt/issues/979) +- New rule: VarCouldBeVal - [#978](https://github.com/detekt/detekt/pull/978) +- Fix ExpressionBodySyntax when multiline expression - [#977](https://github.com/detekt/detekt/pull/977) +- ExpressionBodySyntax: false positive with includeLineWrapping in multiline expression - [#976](https://github.com/detekt/detekt/issues/976) +- Activate rules in failfast.yml - [#975](https://github.com/detekt/detekt/pull/975) +- UnusedPrivateMember: do not report unused parameters in abstract/open functions - [#973](https://github.com/detekt/detekt/pull/973) +- UnusedPrivateMember: Incorrectly reports unused params in open/abstract functions - [#972](https://github.com/detekt/detekt/issues/972) +- Use detekt 7-3 in self analysis - [#971](https://github.com/detekt/detekt/pull/971) +- UnnecessaryParentheses false positive when using extension function with default parameter - [#927](https://github.com/detekt/detekt/issues/927) +- Running ktlint formatting on every build - [#823](https://github.com/detekt/detekt/issues/823) -See all issues at: [RC8](https://github.com/arturbosch/detekt/milestone/37) +See all issues at: [RC8](https://github.com/detekt/detekt/milestone/37) #### RC7-3 -- UnusedPrivateMember: detect top level declarations - [#968](https://github.com/arturbosch/detekt/pull/968) -- Support suppression of single instances of MaxLineLength violations - [#966](https://github.com/arturbosch/detekt/pull/966) -- Fix SerialVersionUIDInSerializableClass when value's less then zero #964 - [#965](https://github.com/arturbosch/detekt/pull/965) -- SerialVersionUIDInSerializableClass reports when const value less then true - [#964](https://github.com/arturbosch/detekt/issues/964) -- Fixed #960 - private properties naming report - [#963](https://github.com/arturbosch/detekt/pull/963) -- Allow "All" in @Suppress statements - [#962](https://github.com/arturbosch/detekt/pull/962) -- TopLevelPropertyNaming description reports wrong regex with private properties - [#960](https://github.com/arturbosch/detekt/issues/960) -- Migrate detekt-formatting/build.gradle to Kotlin DSL - [#958](https://github.com/arturbosch/detekt/pull/958) -- Allow maxLines option for ExpressionBodySyntax - [#957](https://github.com/arturbosch/detekt/issues/957) -- Updated kotlin compiler to version 1.2.50 - [#956](https://github.com/arturbosch/detekt/pull/956) -- WildcardImport: Remove one force unwrap and reuse it from let function - [#955](https://github.com/arturbosch/detekt/pull/955) -- Use native junitPlatform from gradle 4.6 - [#953](https://github.com/arturbosch/detekt/pull/953) -- Fix #950 ExpressionBodySyntax - [#952](https://github.com/arturbosch/detekt/pull/952) -- Gradle native junitplatform in detekt gradle plugin project - [#951](https://github.com/arturbosch/detekt/pull/951) -- Prepare RC7-3 release - [#949](https://github.com/arturbosch/detekt/pull/949) -- Rule: find unused private top level properties, constants or functions - [#948](https://github.com/arturbosch/detekt/issues/948) -- Suppress undocumented classes in dokka - [#947](https://github.com/arturbosch/detekt/pull/947) -- Do not crash on rule exceptions - #793 #944 - [#946](https://github.com/arturbosch/detekt/pull/946) -- Provide signing config for bintray - #345 - [#945](https://github.com/arturbosch/detekt/pull/945) -- Exclude private functions for TooManyFunctions rule - [#943](https://github.com/arturbosch/detekt/issues/943) -- Add a space between two words - [#942](https://github.com/arturbosch/detekt/pull/942) -- MaybeConst tests - [#938](https://github.com/arturbosch/detekt/pull/938) -- Respect string interpolation - Closes #808 - [#937](https://github.com/arturbosch/detekt/pull/937) +- UnusedPrivateMember: detect top level declarations - [#968](https://github.com/detekt/detekt/pull/968) +- Support suppression of single instances of MaxLineLength violations - [#966](https://github.com/detekt/detekt/pull/966) +- Fix SerialVersionUIDInSerializableClass when value's less then zero #964 - [#965](https://github.com/detekt/detekt/pull/965) +- SerialVersionUIDInSerializableClass reports when const value less then true - [#964](https://github.com/detekt/detekt/issues/964) +- Fixed #960 - private properties naming report - [#963](https://github.com/detekt/detekt/pull/963) +- Allow "All" in @Suppress statements - [#962](https://github.com/detekt/detekt/pull/962) +- TopLevelPropertyNaming description reports wrong regex with private properties - [#960](https://github.com/detekt/detekt/issues/960) +- Migrate detekt-formatting/build.gradle to Kotlin DSL - [#958](https://github.com/detekt/detekt/pull/958) +- Allow maxLines option for ExpressionBodySyntax - [#957](https://github.com/detekt/detekt/issues/957) +- Updated kotlin compiler to version 1.2.50 - [#956](https://github.com/detekt/detekt/pull/956) +- WildcardImport: Remove one force unwrap and reuse it from let function - [#955](https://github.com/detekt/detekt/pull/955) +- Use native junitPlatform from gradle 4.6 - [#953](https://github.com/detekt/detekt/pull/953) +- Fix #950 ExpressionBodySyntax - [#952](https://github.com/detekt/detekt/pull/952) +- Gradle native junitplatform in detekt gradle plugin project - [#951](https://github.com/detekt/detekt/pull/951) +- Prepare RC7-3 release - [#949](https://github.com/detekt/detekt/pull/949) +- Rule: find unused private top level properties, constants or functions - [#948](https://github.com/detekt/detekt/issues/948) +- Suppress undocumented classes in dokka - [#947](https://github.com/detekt/detekt/pull/947) +- Do not crash on rule exceptions - #793 #944 - [#946](https://github.com/detekt/detekt/pull/946) +- Provide signing config for bintray - #345 - [#945](https://github.com/detekt/detekt/pull/945) +- Exclude private functions for TooManyFunctions rule - [#943](https://github.com/detekt/detekt/issues/943) +- Add a space between two words - [#942](https://github.com/detekt/detekt/pull/942) +- MaybeConst tests - [#938](https://github.com/detekt/detekt/pull/938) +- Respect string interpolation - Closes #808 - [#937](https://github.com/detekt/detekt/pull/937) -See all issues at: [RC7-3](https://github.com/arturbosch/detekt/milestone/35) +See all issues at: [RC7-3](https://github.com/detekt/detekt/milestone/35) #### RC7-2 -- Generate javadocJar for maven central publishing - #345 - [#934](https://github.com/arturbosch/detekt/pull/934) -- TooManyFunctions : Add option to ignore private functions - [#933](https://github.com/arturbosch/detekt/pull/933) -- Fixed some IntelliJ inspection warnings in test cases - [#931](https://github.com/arturbosch/detekt/pull/931) -- Fixed MayBeConst false negative when concatenating strings #900 - [#930](https://github.com/arturbosch/detekt/pull/930) -- Remove #807 workaround - [#929](https://github.com/arturbosch/detekt/pull/929) -- Fix divergent issues with UnsafeCasts rule on windows - Closes #926 - [#928](https://github.com/arturbosch/detekt/pull/928) -- Divergent behaviour for UnsafeCast rule on *nix & Windows - [#926](https://github.com/arturbosch/detekt/issues/926) -- Build Gradle plugin using composite build - [#924](https://github.com/arturbosch/detekt/pull/924) -- Extended documentation - [#923](https://github.com/arturbosch/detekt/issues/923) -- Don't treat 'input' and 'output' parameters to Gradle as an InputDirectory/OutputDirectory - [#922](https://github.com/arturbosch/detekt/pull/922) -- Build Gradle plugin using a composite build - [#920](https://github.com/arturbosch/detekt/issues/920) -- CI: Test Windows build on Java 9 - [#919](https://github.com/arturbosch/detekt/pull/919) -- CI: Improve Windows testing - [#918](https://github.com/arturbosch/detekt/pull/918) -- Added missing message to CollapsibleIfStatements rule - [#917](https://github.com/arturbosch/detekt/pull/917) -- Support more range expressions in ForEachOnRange rule - [#916](https://github.com/arturbosch/detekt/pull/916) -- Support more range expressions in ForEachOnRange rule (downTo, step, until etc.) - [#915](https://github.com/arturbosch/detekt/issues/915) -- Add rule for preferring to syntax for creating pairs - [#914](https://github.com/arturbosch/detekt/pull/914) -- Upgrade to Gradle 4.7 - [#913](https://github.com/arturbosch/detekt/pull/913) -- Style rule: Prefer to over Pair - [#912](https://github.com/arturbosch/detekt/issues/912) -- Add style rule for mandatory braces for control flow statements - [#911](https://github.com/arturbosch/detekt/pull/911) -- Applied allowedNames in UnusedPrivateMember to declarations - [#910](https://github.com/arturbosch/detekt/pull/910) -- UnusedPrivateMember – allowedNames is not applied to properties - [#909](https://github.com/arturbosch/detekt/issues/909) -- Updated StringLiteralDuplication to treat multiline string parts as 1 - [#908](https://github.com/arturbosch/detekt/pull/908) -- Added support for special handling in RethrowCaughtException - [#907](https://github.com/arturbosch/detekt/pull/907) -- RethrowCaughtException Usage - [#906](https://github.com/arturbosch/detekt/issues/906) -- VariableNaming not working after 1.0.0.RC5-6 - [#905](https://github.com/arturbosch/detekt/issues/905) -- StringLiteralDuplication - 3/3 - [toString] unclear error - [#904](https://github.com/arturbosch/detekt/issues/904) -- Adjust terminal output in case there's only one file. - [#903](https://github.com/arturbosch/detekt/pull/903) -- Updated MatchingDeclarationName with typealias - [#901](https://github.com/arturbosch/detekt/pull/901) -- MatchingDeclarationName with typealias - [#898](https://github.com/arturbosch/detekt/issues/898) -- Exclude ForEachOnRange in default config for test-pattern. - [#897](https://github.com/arturbosch/detekt/pull/897) -- Make website/documentation link more prominent - [#896](https://github.com/arturbosch/detekt/issues/896) -- Print link to html report in console on check fail - [#894](https://github.com/arturbosch/detekt/issues/894) -- 0 kotlin files were analyzed while running on concourse - [#889](https://github.com/arturbosch/detekt/issues/889) -- Link to documentation for new 'maxIssues' config property - [#887](https://github.com/arturbosch/detekt/issues/887) -- `./gradlew detektBaseline` fails with "Creating a baseline.xml requires the --baseline parameter to specify a path." - [#886](https://github.com/arturbosch/detekt/issues/886) -- Add "FunctionName" alias for suppressing "FunctionNaming" rule - [#882](https://github.com/arturbosch/detekt/issues/882) -- CompositeConfig does not allow forcing the default value - [#881](https://github.com/arturbosch/detekt/issues/881) -- False positive with OptionalAbstractKeyword - [#879](https://github.com/arturbosch/detekt/issues/879) +- Generate javadocJar for maven central publishing - #345 - [#934](https://github.com/detekt/detekt/pull/934) +- TooManyFunctions : Add option to ignore private functions - [#933](https://github.com/detekt/detekt/pull/933) +- Fixed some IntelliJ inspection warnings in test cases - [#931](https://github.com/detekt/detekt/pull/931) +- Fixed MayBeConst false negative when concatenating strings #900 - [#930](https://github.com/detekt/detekt/pull/930) +- Remove #807 workaround - [#929](https://github.com/detekt/detekt/pull/929) +- Fix divergent issues with UnsafeCasts rule on windows - Closes #926 - [#928](https://github.com/detekt/detekt/pull/928) +- Divergent behaviour for UnsafeCast rule on *nix & Windows - [#926](https://github.com/detekt/detekt/issues/926) +- Build Gradle plugin using composite build - [#924](https://github.com/detekt/detekt/pull/924) +- Extended documentation - [#923](https://github.com/detekt/detekt/issues/923) +- Don't treat 'input' and 'output' parameters to Gradle as an InputDirectory/OutputDirectory - [#922](https://github.com/detekt/detekt/pull/922) +- Build Gradle plugin using a composite build - [#920](https://github.com/detekt/detekt/issues/920) +- CI: Test Windows build on Java 9 - [#919](https://github.com/detekt/detekt/pull/919) +- CI: Improve Windows testing - [#918](https://github.com/detekt/detekt/pull/918) +- Added missing message to CollapsibleIfStatements rule - [#917](https://github.com/detekt/detekt/pull/917) +- Support more range expressions in ForEachOnRange rule - [#916](https://github.com/detekt/detekt/pull/916) +- Support more range expressions in ForEachOnRange rule (downTo, step, until etc.) - [#915](https://github.com/detekt/detekt/issues/915) +- Add rule for preferring to syntax for creating pairs - [#914](https://github.com/detekt/detekt/pull/914) +- Upgrade to Gradle 4.7 - [#913](https://github.com/detekt/detekt/pull/913) +- Style rule: Prefer to over Pair - [#912](https://github.com/detekt/detekt/issues/912) +- Add style rule for mandatory braces for control flow statements - [#911](https://github.com/detekt/detekt/pull/911) +- Applied allowedNames in UnusedPrivateMember to declarations - [#910](https://github.com/detekt/detekt/pull/910) +- UnusedPrivateMember – allowedNames is not applied to properties - [#909](https://github.com/detekt/detekt/issues/909) +- Updated StringLiteralDuplication to treat multiline string parts as 1 - [#908](https://github.com/detekt/detekt/pull/908) +- Added support for special handling in RethrowCaughtException - [#907](https://github.com/detekt/detekt/pull/907) +- RethrowCaughtException Usage - [#906](https://github.com/detekt/detekt/issues/906) +- VariableNaming not working after 1.0.0.RC5-6 - [#905](https://github.com/detekt/detekt/issues/905) +- StringLiteralDuplication - 3/3 - [toString] unclear error - [#904](https://github.com/detekt/detekt/issues/904) +- Adjust terminal output in case there's only one file. - [#903](https://github.com/detekt/detekt/pull/903) +- Updated MatchingDeclarationName with typealias - [#901](https://github.com/detekt/detekt/pull/901) +- MatchingDeclarationName with typealias - [#898](https://github.com/detekt/detekt/issues/898) +- Exclude ForEachOnRange in default config for test-pattern. - [#897](https://github.com/detekt/detekt/pull/897) +- Make website/documentation link more prominent - [#896](https://github.com/detekt/detekt/issues/896) +- Print link to html report in console on check fail - [#894](https://github.com/detekt/detekt/issues/894) +- 0 kotlin files were analyzed while running on concourse - [#889](https://github.com/detekt/detekt/issues/889) +- Link to documentation for new 'maxIssues' config property - [#887](https://github.com/detekt/detekt/issues/887) +- `./gradlew detektBaseline` fails with "Creating a baseline.xml requires the --baseline parameter to specify a path." - [#886](https://github.com/detekt/detekt/issues/886) +- Add "FunctionName" alias for suppressing "FunctionNaming" rule - [#882](https://github.com/detekt/detekt/issues/882) +- CompositeConfig does not allow forcing the default value - [#881](https://github.com/detekt/detekt/issues/881) +- False positive with OptionalAbstractKeyword - [#879](https://github.com/detekt/detekt/issues/879) -See all issues at: [RC7-2](https://github.com/arturbosch/detekt/milestone/34) +See all issues at: [RC7-2](https://github.com/detekt/detekt/milestone/34) #### RC7 -- Add functionname alias - [#884](https://github.com/arturbosch/detekt/pull/884) -- Make executor in detekt configurable - #862 - [#883](https://github.com/arturbosch/detekt/pull/883) -- Add missing ` character to exception ruleset docs - [#878](https://github.com/arturbosch/detekt/pull/878) -- Updated kotlinVersion to 1.2.40 - [#874](https://github.com/arturbosch/detekt/pull/874) -- Gradle plugin - can't run detektCheck with JDK 9 - [#873](https://github.com/arturbosch/detekt/issues/873) -- Adjust top level property naming to be on pair with intellij - #866 - [#872](https://github.com/arturbosch/detekt/pull/872) -- Splitted positve and negative test cases - [#871](https://github.com/arturbosch/detekt/pull/871) -- Spaces around colon - [#870](https://github.com/arturbosch/detekt/issues/870) -- Corrected "Allowed Maximum" message - [#868](https://github.com/arturbosch/detekt/pull/868) -- Ignored deprecated functions for TooManyFunctions rule - [#867](https://github.com/arturbosch/detekt/pull/867) -- Allow top level properties to be named as constants - [#866](https://github.com/arturbosch/detekt/issues/866) -- Migrate detekt-gradle-plugin/settings.gradle to Gradle DSL - [#864](https://github.com/arturbosch/detekt/pull/864) -- Migrate detekt-gradle-plugin/settings.gradle to Kotlin DSL - [#863](https://github.com/arturbosch/detekt/issues/863) -- Incorrect "Allowed Maximum" message - [#861](https://github.com/arturbosch/detekt/issues/861) -- Detekt task always runs on the same module - [#860](https://github.com/arturbosch/detekt/issues/860) -- Ignore deprecated functions for TooManyFunctions rule - [#859](https://github.com/arturbosch/detekt/issues/859) -- Fixes #857 - Fixes UselessPostfixExpression false positives - [#858](https://github.com/arturbosch/detekt/pull/858) -- UselessPostfixExpression false positives - [#857](https://github.com/arturbosch/detekt/issues/857) -- Additional cli options for printing AST's and running single rules - [#856](https://github.com/arturbosch/detekt/pull/856) -- Implement detekt-formatting, a wrapper over ktlint - [#855](https://github.com/arturbosch/detekt/pull/855) -- detekt-cli tests - [#851](https://github.com/arturbosch/detekt/pull/851) -- Splitted test cases for NamingRulesSpec - [#850](https://github.com/arturbosch/detekt/pull/850) -- Added option to exclude comments from MaxLineLength - [#849](https://github.com/arturbosch/detekt/pull/849) -- Allow underscore as ignored exception name in EmptyCatchBlock - [#848](https://github.com/arturbosch/detekt/pull/848) -- Implement script to download given analysis projects - [#847](https://github.com/arturbosch/detekt/pull/847) -- Set up pipeline to test new detekt rules/features on selected kotlin projects - [#846](https://github.com/arturbosch/detekt/issues/846) -- Add dependencies for gradle plugin (for custom rules) - [#845](https://github.com/arturbosch/detekt/pull/845) -- Should ObjectPropertyNaming have a constantPattern? - [#844](https://github.com/arturbosch/detekt/issues/844) -- VariableMinLength is in the wrong category - [#843](https://github.com/arturbosch/detekt/issues/843) -- MatchingDeclarationName behavior results in false positives. - [#841](https://github.com/arturbosch/detekt/issues/841) -- Fix false positives in unused private members - [#840](https://github.com/arturbosch/detekt/pull/840) -- Use absolute paths in console output to make them clickable - [#839](https://github.com/arturbosch/detekt/pull/839) -- [Console Output] Change all file paths from relative to absolute - [#838](https://github.com/arturbosch/detekt/issues/838) -- False positive for UnnecessaryParentheses - [#836](https://github.com/arturbosch/detekt/issues/836) -- Fixed #783 - OptionalAbstractKeyword false positive - [#835](https://github.com/arturbosch/detekt/pull/835) -- Added rule debt to documentation - [#834](https://github.com/arturbosch/detekt/pull/834) -- Update mention of git commit hook in CONTRIBUTING.md - [#833](https://github.com/arturbosch/detekt/pull/833) -- Do not write deprecated build fail properties to default config file - [#831](https://github.com/arturbosch/detekt/pull/831) -- Fix debt reporting in console report - [#830](https://github.com/arturbosch/detekt/pull/830) -- Update kotlin to v1.2.31 - [#829](https://github.com/arturbosch/detekt/pull/829) -- Build depends on a full download of IntelliJ - [#827](https://github.com/arturbosch/detekt/issues/827) -- Extract intellij plugin to its own repository - [#826](https://github.com/arturbosch/detekt/pull/826) -- Updates Readme with corrected links to RuleSets documentation - [#825](https://github.com/arturbosch/detekt/pull/825) -- Added threshold change to changelog - [#824](https://github.com/arturbosch/detekt/pull/824) -- Threshold changed when updating from RC6-3 to RC6-4 - [#822](https://github.com/arturbosch/detekt/issues/822) -- Migrate detekt/build.gradle to kotlin dsl - [#821](https://github.com/arturbosch/detekt/pull/821) -- Migrate detekt-sample-extensions/build.gradle to kotlin dsl - [#820](https://github.com/arturbosch/detekt/pull/820) -- Fixed #816 - webpage documentation generator - [#819](https://github.com/arturbosch/detekt/pull/819) -- NestedClassesVisibility doesn't detect violation for object - [#817](https://github.com/arturbosch/detekt/pull/817) -- potential-bugs web page is broken - [#816](https://github.com/arturbosch/detekt/issues/816) -- Commit hook - [#815](https://github.com/arturbosch/detekt/pull/815) -- NestedClassesVisibility doesn't detect violation for "object" - [#814](https://github.com/arturbosch/detekt/issues/814) -- UnusedPrivateMember false positives - [#812](https://github.com/arturbosch/detekt/issues/812) -- deprecation message is printed even when warningThreshold and failThreshold are not used - [#811](https://github.com/arturbosch/detekt/issues/811) -- Added naming ruleset to RC6-3 migration guide - [#810](https://github.com/arturbosch/detekt/pull/810) -- 1.0.0.RC6-3 changelog migration block is incomplete - [#809](https://github.com/arturbosch/detekt/issues/809) -- Add Novoda static analysis plugin to readme - [#806](https://github.com/arturbosch/detekt/pull/806) -- Added filepath to console output when generating reports - [#805](https://github.com/arturbosch/detekt/pull/805) -- Updated EmptyFunctionBlock rule - [#804](https://github.com/arturbosch/detekt/pull/804) -- Updated debt report - [#803](https://github.com/arturbosch/detekt/pull/803) -- When generating reports it would be nice if the path would be printed out as well - [#801](https://github.com/arturbosch/detekt/issues/801) -- False negatives for EmptyFunctionBlock with overridden functions - [#800](https://github.com/arturbosch/detekt/issues/800) -- Updated rule debt values - [#776](https://github.com/arturbosch/detekt/pull/776) -- WIP: Detekt IntelliJ Plugin - [#773](https://github.com/arturbosch/detekt/pull/773) +- Add functionname alias - [#884](https://github.com/detekt/detekt/pull/884) +- Make executor in detekt configurable - #862 - [#883](https://github.com/detekt/detekt/pull/883) +- Add missing ` character to exception ruleset docs - [#878](https://github.com/detekt/detekt/pull/878) +- Updated kotlinVersion to 1.2.40 - [#874](https://github.com/detekt/detekt/pull/874) +- Gradle plugin - can't run detektCheck with JDK 9 - [#873](https://github.com/detekt/detekt/issues/873) +- Adjust top level property naming to be on pair with intellij - #866 - [#872](https://github.com/detekt/detekt/pull/872) +- Splitted positve and negative test cases - [#871](https://github.com/detekt/detekt/pull/871) +- Spaces around colon - [#870](https://github.com/detekt/detekt/issues/870) +- Corrected "Allowed Maximum" message - [#868](https://github.com/detekt/detekt/pull/868) +- Ignored deprecated functions for TooManyFunctions rule - [#867](https://github.com/detekt/detekt/pull/867) +- Allow top level properties to be named as constants - [#866](https://github.com/detekt/detekt/issues/866) +- Migrate detekt-gradle-plugin/settings.gradle to Gradle DSL - [#864](https://github.com/detekt/detekt/pull/864) +- Migrate detekt-gradle-plugin/settings.gradle to Kotlin DSL - [#863](https://github.com/detekt/detekt/issues/863) +- Incorrect "Allowed Maximum" message - [#861](https://github.com/detekt/detekt/issues/861) +- Detekt task always runs on the same module - [#860](https://github.com/detekt/detekt/issues/860) +- Ignore deprecated functions for TooManyFunctions rule - [#859](https://github.com/detekt/detekt/issues/859) +- Fixes #857 - Fixes UselessPostfixExpression false positives - [#858](https://github.com/detekt/detekt/pull/858) +- UselessPostfixExpression false positives - [#857](https://github.com/detekt/detekt/issues/857) +- Additional cli options for printing AST's and running single rules - [#856](https://github.com/detekt/detekt/pull/856) +- Implement detekt-formatting, a wrapper over ktlint - [#855](https://github.com/detekt/detekt/pull/855) +- detekt-cli tests - [#851](https://github.com/detekt/detekt/pull/851) +- Splitted test cases for NamingRulesSpec - [#850](https://github.com/detekt/detekt/pull/850) +- Added option to exclude comments from MaxLineLength - [#849](https://github.com/detekt/detekt/pull/849) +- Allow underscore as ignored exception name in EmptyCatchBlock - [#848](https://github.com/detekt/detekt/pull/848) +- Implement script to download given analysis projects - [#847](https://github.com/detekt/detekt/pull/847) +- Set up pipeline to test new detekt rules/features on selected kotlin projects - [#846](https://github.com/detekt/detekt/issues/846) +- Add dependencies for gradle plugin (for custom rules) - [#845](https://github.com/detekt/detekt/pull/845) +- Should ObjectPropertyNaming have a constantPattern? - [#844](https://github.com/detekt/detekt/issues/844) +- VariableMinLength is in the wrong category - [#843](https://github.com/detekt/detekt/issues/843) +- MatchingDeclarationName behavior results in false positives. - [#841](https://github.com/detekt/detekt/issues/841) +- Fix false positives in unused private members - [#840](https://github.com/detekt/detekt/pull/840) +- Use absolute paths in console output to make them clickable - [#839](https://github.com/detekt/detekt/pull/839) +- [Console Output] Change all file paths from relative to absolute - [#838](https://github.com/detekt/detekt/issues/838) +- False positive for UnnecessaryParentheses - [#836](https://github.com/detekt/detekt/issues/836) +- Fixed #783 - OptionalAbstractKeyword false positive - [#835](https://github.com/detekt/detekt/pull/835) +- Added rule debt to documentation - [#834](https://github.com/detekt/detekt/pull/834) +- Update mention of git commit hook in CONTRIBUTING.md - [#833](https://github.com/detekt/detekt/pull/833) +- Do not write deprecated build fail properties to default config file - [#831](https://github.com/detekt/detekt/pull/831) +- Fix debt reporting in console report - [#830](https://github.com/detekt/detekt/pull/830) +- Update kotlin to v1.2.31 - [#829](https://github.com/detekt/detekt/pull/829) +- Build depends on a full download of IntelliJ - [#827](https://github.com/detekt/detekt/issues/827) +- Extract intellij plugin to its own repository - [#826](https://github.com/detekt/detekt/pull/826) +- Updates Readme with corrected links to RuleSets documentation - [#825](https://github.com/detekt/detekt/pull/825) +- Added threshold change to changelog - [#824](https://github.com/detekt/detekt/pull/824) +- Threshold changed when updating from RC6-3 to RC6-4 - [#822](https://github.com/detekt/detekt/issues/822) +- Migrate detekt/build.gradle to kotlin dsl - [#821](https://github.com/detekt/detekt/pull/821) +- Migrate detekt-sample-extensions/build.gradle to kotlin dsl - [#820](https://github.com/detekt/detekt/pull/820) +- Fixed #816 - webpage documentation generator - [#819](https://github.com/detekt/detekt/pull/819) +- NestedClassesVisibility doesn't detect violation for object - [#817](https://github.com/detekt/detekt/pull/817) +- potential-bugs web page is broken - [#816](https://github.com/detekt/detekt/issues/816) +- Commit hook - [#815](https://github.com/detekt/detekt/pull/815) +- NestedClassesVisibility doesn't detect violation for "object" - [#814](https://github.com/detekt/detekt/issues/814) +- UnusedPrivateMember false positives - [#812](https://github.com/detekt/detekt/issues/812) +- deprecation message is printed even when warningThreshold and failThreshold are not used - [#811](https://github.com/detekt/detekt/issues/811) +- Added naming ruleset to RC6-3 migration guide - [#810](https://github.com/detekt/detekt/pull/810) +- 1.0.0.RC6-3 changelog migration block is incomplete - [#809](https://github.com/detekt/detekt/issues/809) +- Add Novoda static analysis plugin to readme - [#806](https://github.com/detekt/detekt/pull/806) +- Added filepath to console output when generating reports - [#805](https://github.com/detekt/detekt/pull/805) +- Updated EmptyFunctionBlock rule - [#804](https://github.com/detekt/detekt/pull/804) +- Updated debt report - [#803](https://github.com/detekt/detekt/pull/803) +- When generating reports it would be nice if the path would be printed out as well - [#801](https://github.com/detekt/detekt/issues/801) +- False negatives for EmptyFunctionBlock with overridden functions - [#800](https://github.com/detekt/detekt/issues/800) +- Updated rule debt values - [#776](https://github.com/detekt/detekt/pull/776) +- WIP: Detekt IntelliJ Plugin - [#773](https://github.com/detekt/detekt/pull/773) -See all issues at: [RC7](https://github.com/arturbosch/detekt/milestone/32) +See all issues at: [RC7](https://github.com/detekt/detekt/milestone/32) #### RC6-4 -- NoSuchElementException when running from build.gradle.kts - [#793](https://github.com/arturbosch/detekt/issues/793) -- No files analysed if path contains test - [#792](https://github.com/arturbosch/detekt/issues/792) -- Does detekt include copy/paste detector ? - [#789](https://github.com/arturbosch/detekt/issues/789) -- @Suppress("MaxLineLength") at file-level doesn't work - [#788](https://github.com/arturbosch/detekt/issues/788) -- Update test dependencies and publish versions - [#787](https://github.com/arturbosch/detekt/pull/787) -- Bitrise step to run detekt - [#785](https://github.com/arturbosch/detekt/issues/785) -- Add no tabs rule - [#782](https://github.com/arturbosch/detekt/pull/782) -- Added test case for EmptyCatchBlock rule - [#781](https://github.com/arturbosch/detekt/pull/781) -- Add trailing whitespace rule - [#780](https://github.com/arturbosch/detekt/pull/780) -- EmptyCatchBlock.allowedExceptionNameRegex doesn't seem to be useful - [#779](https://github.com/arturbosch/detekt/issues/779) -- Incorrect behavior for EqualsAlwaysReturnsTrueOrFalse - [#778](https://github.com/arturbosch/detekt/issues/778) -- Thresholds rework - [#774](https://github.com/arturbosch/detekt/pull/774) -- Implemented EndOfSentenceFormat to support urls as last argument - [#772](https://github.com/arturbosch/detekt/pull/772) -- Fixed report of unnecessary parentheses when assigning a lambda to a val - [#770](https://github.com/arturbosch/detekt/pull/770) -- TopLevelPropertyNaming ease UPPER_CASE notation on vals - [#769](https://github.com/arturbosch/detekt/issues/769) -- EndOfSentenceFormat does not work well with urls. - [#768](https://github.com/arturbosch/detekt/issues/768) -- UnnecessaryParentheses false positive when copying with a function - [#767](https://github.com/arturbosch/detekt/issues/767) -- Added excludeClassPattern for VariableNaming rule - [#765](https://github.com/arturbosch/detekt/pull/765) -- Add class name exclusion or pattern exclusion for VariableNaming rule - [#764](https://github.com/arturbosch/detekt/issues/764) -- update kotlin to v1.2.30 - [#763](https://github.com/arturbosch/detekt/pull/763) -- update gradle to v4.6 - [#762](https://github.com/arturbosch/detekt/pull/762) -- Remove useTabs from sample Maven config in README - [#761](https://github.com/arturbosch/detekt/pull/761) -- Change exceptions property to throwable - #109 - [#760](https://github.com/arturbosch/detekt/pull/760) -- Overriding defaults throws java.util.ConcurrentModificationException - [#758](https://github.com/arturbosch/detekt/issues/758) -- Rule: Unnecessary brackets - [#756](https://github.com/arturbosch/detekt/issues/756) -- What do you think about making configuration type safe? - [#755](https://github.com/arturbosch/detekt/issues/755) -- 0 kotlin files were analyzed Android Setup. - [#754](https://github.com/arturbosch/detekt/issues/754) -- Space before curly brackets - [#753](https://github.com/arturbosch/detekt/issues/753) -- Fix in yaml syntax - [#752](https://github.com/arturbosch/detekt/pull/752) -- Added ignoreSingleWhenExpression config for ComplexMethod rule - [#750](https://github.com/arturbosch/detekt/pull/750) -- Generate documentation inside website folder - [#746](https://github.com/arturbosch/detekt/pull/746) -- Removed obsolete OptionalReturnKeyword rule - [#745](https://github.com/arturbosch/detekt/pull/745) -- add task inputs/outputs to detektCheck task - [#743](https://github.com/arturbosch/detekt/pull/743) -- define inputs/outputs for detekt-generator task - [#742](https://github.com/arturbosch/detekt/pull/742) -- Fixes for .kts files - [#741](https://github.com/arturbosch/detekt/pull/741) -- EqualsAlwaysReturnsTrueOrFalse for multiple returns - [#740](https://github.com/arturbosch/detekt/pull/740) -- Getting EqualsAlwaysReturnsTrueOrFalse incorrectly (I think) - [#738](https://github.com/arturbosch/detekt/issues/738) -- add messages to all CodeSmells - [#737](https://github.com/arturbosch/detekt/pull/737) -- Added allowedExceptionNameRegex config for EmptyCatchBlock - [#736](https://github.com/arturbosch/detekt/pull/736) -- Extend EmptyCatchBlock - [#734](https://github.com/arturbosch/detekt/issues/734) -- Add MayBeConst rule - [#733](https://github.com/arturbosch/detekt/pull/733) -- Simplify `SingleAssign` by using `lateinit` and add tests for it - [#732](https://github.com/arturbosch/detekt/pull/732) -- Style rule: val constants can be declared as const - [#731](https://github.com/arturbosch/detekt/issues/731) -- Allow aliases for rules to allow for suppression - [#730](https://github.com/arturbosch/detekt/pull/730) -- More idiomatic build configuration - [#729](https://github.com/arturbosch/detekt/pull/729) -- Ignored classes with supertype entries from UnnecessaryAbstractClass - [#728](https://github.com/arturbosch/detekt/pull/728) -- Handle @Suppress("UNCHECKED_CAST") for UnsafeCast rule - [#726](https://github.com/arturbosch/detekt/issues/726) -- The "detektCheck" Gradle task is never UP-TO-DATE - [#725](https://github.com/arturbosch/detekt/issues/725) -- Fixed incorrect behavior of EmptyDefaultConstructor - #723 - [#724](https://github.com/arturbosch/detekt/pull/724) -- EmptyDefaultConstructor incorrect behavior - [#723](https://github.com/arturbosch/detekt/issues/723) -- OptionalReturnKeyword incorrect behavior - [#722](https://github.com/arturbosch/detekt/issues/722) -- Fix message for TooGenericExceptionCaught - [#720](https://github.com/arturbosch/detekt/pull/720) -- Gradle plugin rework - new dsl - [#719](https://github.com/arturbosch/detekt/pull/719) -- Corrected documentation in EnumNaming - [#717](https://github.com/arturbosch/detekt/pull/717) -- EnumNaming should also allow digits - [#716](https://github.com/arturbosch/detekt/issues/716) -- External dependency 'detekt-cli' not found when using Gradle plugin in submodule - [#713](https://github.com/arturbosch/detekt/issues/713) -- Quickfixes API - [#710](https://github.com/arturbosch/detekt/issues/710) +- NoSuchElementException when running from build.gradle.kts - [#793](https://github.com/detekt/detekt/issues/793) +- No files analysed if path contains test - [#792](https://github.com/detekt/detekt/issues/792) +- Does detekt include copy/paste detector ? - [#789](https://github.com/detekt/detekt/issues/789) +- @Suppress("MaxLineLength") at file-level doesn't work - [#788](https://github.com/detekt/detekt/issues/788) +- Update test dependencies and publish versions - [#787](https://github.com/detekt/detekt/pull/787) +- Bitrise step to run detekt - [#785](https://github.com/detekt/detekt/issues/785) +- Add no tabs rule - [#782](https://github.com/detekt/detekt/pull/782) +- Added test case for EmptyCatchBlock rule - [#781](https://github.com/detekt/detekt/pull/781) +- Add trailing whitespace rule - [#780](https://github.com/detekt/detekt/pull/780) +- EmptyCatchBlock.allowedExceptionNameRegex doesn't seem to be useful - [#779](https://github.com/detekt/detekt/issues/779) +- Incorrect behavior for EqualsAlwaysReturnsTrueOrFalse - [#778](https://github.com/detekt/detekt/issues/778) +- Thresholds rework - [#774](https://github.com/detekt/detekt/pull/774) +- Implemented EndOfSentenceFormat to support urls as last argument - [#772](https://github.com/detekt/detekt/pull/772) +- Fixed report of unnecessary parentheses when assigning a lambda to a val - [#770](https://github.com/detekt/detekt/pull/770) +- TopLevelPropertyNaming ease UPPER_CASE notation on vals - [#769](https://github.com/detekt/detekt/issues/769) +- EndOfSentenceFormat does not work well with urls. - [#768](https://github.com/detekt/detekt/issues/768) +- UnnecessaryParentheses false positive when copying with a function - [#767](https://github.com/detekt/detekt/issues/767) +- Added excludeClassPattern for VariableNaming rule - [#765](https://github.com/detekt/detekt/pull/765) +- Add class name exclusion or pattern exclusion for VariableNaming rule - [#764](https://github.com/detekt/detekt/issues/764) +- update kotlin to v1.2.30 - [#763](https://github.com/detekt/detekt/pull/763) +- update gradle to v4.6 - [#762](https://github.com/detekt/detekt/pull/762) +- Remove useTabs from sample Maven config in README - [#761](https://github.com/detekt/detekt/pull/761) +- Change exceptions property to throwable - #109 - [#760](https://github.com/detekt/detekt/pull/760) +- Overriding defaults throws java.util.ConcurrentModificationException - [#758](https://github.com/detekt/detekt/issues/758) +- Rule: Unnecessary brackets - [#756](https://github.com/detekt/detekt/issues/756) +- What do you think about making configuration type safe? - [#755](https://github.com/detekt/detekt/issues/755) +- 0 kotlin files were analyzed Android Setup. - [#754](https://github.com/detekt/detekt/issues/754) +- Space before curly brackets - [#753](https://github.com/detekt/detekt/issues/753) +- Fix in yaml syntax - [#752](https://github.com/detekt/detekt/pull/752) +- Added ignoreSingleWhenExpression config for ComplexMethod rule - [#750](https://github.com/detekt/detekt/pull/750) +- Generate documentation inside website folder - [#746](https://github.com/detekt/detekt/pull/746) +- Removed obsolete OptionalReturnKeyword rule - [#745](https://github.com/detekt/detekt/pull/745) +- add task inputs/outputs to detektCheck task - [#743](https://github.com/detekt/detekt/pull/743) +- define inputs/outputs for detekt-generator task - [#742](https://github.com/detekt/detekt/pull/742) +- Fixes for .kts files - [#741](https://github.com/detekt/detekt/pull/741) +- EqualsAlwaysReturnsTrueOrFalse for multiple returns - [#740](https://github.com/detekt/detekt/pull/740) +- Getting EqualsAlwaysReturnsTrueOrFalse incorrectly (I think) - [#738](https://github.com/detekt/detekt/issues/738) +- add messages to all CodeSmells - [#737](https://github.com/detekt/detekt/pull/737) +- Added allowedExceptionNameRegex config for EmptyCatchBlock - [#736](https://github.com/detekt/detekt/pull/736) +- Extend EmptyCatchBlock - [#734](https://github.com/detekt/detekt/issues/734) +- Add MayBeConst rule - [#733](https://github.com/detekt/detekt/pull/733) +- Simplify `SingleAssign` by using `lateinit` and add tests for it - [#732](https://github.com/detekt/detekt/pull/732) +- Style rule: val constants can be declared as const - [#731](https://github.com/detekt/detekt/issues/731) +- Allow aliases for rules to allow for suppression - [#730](https://github.com/detekt/detekt/pull/730) +- More idiomatic build configuration - [#729](https://github.com/detekt/detekt/pull/729) +- Ignored classes with supertype entries from UnnecessaryAbstractClass - [#728](https://github.com/detekt/detekt/pull/728) +- Handle @Suppress("UNCHECKED_CAST") for UnsafeCast rule - [#726](https://github.com/detekt/detekt/issues/726) +- The "detektCheck" Gradle task is never UP-TO-DATE - [#725](https://github.com/detekt/detekt/issues/725) +- Fixed incorrect behavior of EmptyDefaultConstructor - #723 - [#724](https://github.com/detekt/detekt/pull/724) +- EmptyDefaultConstructor incorrect behavior - [#723](https://github.com/detekt/detekt/issues/723) +- OptionalReturnKeyword incorrect behavior - [#722](https://github.com/detekt/detekt/issues/722) +- Fix message for TooGenericExceptionCaught - [#720](https://github.com/detekt/detekt/pull/720) +- Gradle plugin rework - new dsl - [#719](https://github.com/detekt/detekt/pull/719) +- Corrected documentation in EnumNaming - [#717](https://github.com/detekt/detekt/pull/717) +- EnumNaming should also allow digits - [#716](https://github.com/detekt/detekt/issues/716) +- External dependency 'detekt-cli' not found when using Gradle plugin in submodule - [#713](https://github.com/detekt/detekt/issues/713) +- Quickfixes API - [#710](https://github.com/detekt/detekt/issues/710) -See all issues at: [RC6-4](https://github.com/arturbosch/detekt/milestone/33) +See all issues at: [RC6-4](https://github.com/detekt/detekt/milestone/33) ##### Migration @@ -964,36 +964,36 @@ build: #### RC6-3 -- Improve documentation of sample project - #438 - [#712](https://github.com/arturbosch/detekt/pull/712) -- Added tests for naming rules - [#711](https://github.com/arturbosch/detekt/pull/711) -- Gradle Plugin: Expose a copy of `profiles` - [#709](https://github.com/arturbosch/detekt/pull/709) -- update gradle to v4.5 - [#708](https://github.com/arturbosch/detekt/pull/708) -- EmptyClassBlock should not be reported for objects deriving from superclasses - [#707](https://github.com/arturbosch/detekt/issues/707) -- remove FeatureEnvy class - [#706](https://github.com/arturbosch/detekt/pull/706) -- Tooling: Accessing the profiles defined by the user - [#705](https://github.com/arturbosch/detekt/issues/705) -- make detekt-cli tests depend on updated documentation/config - [#704](https://github.com/arturbosch/detekt/pull/704) -- KDocStyle MultiRule with EndOfSentenceFormat Rule - [#703](https://github.com/arturbosch/detekt/pull/703) -- Add documentation for style rules - [#702](https://github.com/arturbosch/detekt/pull/702) -- Add documentation for complexity rules - [#701](https://github.com/arturbosch/detekt/pull/701) -- [Question] How to reference to a version of the plugin in the main project before it's even published? - [#700](https://github.com/arturbosch/detekt/issues/700) -- Rule: KDoc's first sentence should have a proper end - [#699](https://github.com/arturbosch/detekt/issues/699) -- Added documentation for naming rule set - [#697](https://github.com/arturbosch/detekt/pull/697) -- update kotlin to v1.2.20 - [#696](https://github.com/arturbosch/detekt/pull/696) -- Added `excludeAnnotatedClasses` to UseDataClass - #694 - [#695](https://github.com/arturbosch/detekt/pull/695) -- Consider adding `excludeAnnotatedClasses` to UseDataClass. - [#694](https://github.com/arturbosch/detekt/issues/694) -- Fix compliant case for UntilInsteadOfRangeTo rule - [#693](https://github.com/arturbosch/detekt/pull/693) -- Documentation generator truncates config descriptions - [#692](https://github.com/arturbosch/detekt/pull/692) -- Documentation generator truncates some configuration descriptions - [#691](https://github.com/arturbosch/detekt/issues/691) -- Introduce "naming" ruleset - [#690](https://github.com/arturbosch/detekt/pull/690) -- Sort Rules in Config & Documentation alphabetically - [#689](https://github.com/arturbosch/detekt/pull/689) -- Default configuration file should be sorted alphabetically - [#688](https://github.com/arturbosch/detekt/issues/688) -- Fix MatchingDeclarationName false positives - [#687](https://github.com/arturbosch/detekt/pull/687) -- MatchingDeclarationName has false positives - [#686](https://github.com/arturbosch/detekt/issues/686) -- UtilityClassWithPublicConstructor reports classes with delegates - [#682](https://github.com/arturbosch/detekt/issues/682) -- `ComplexMethod` rule question - [#680](https://github.com/arturbosch/detekt/issues/680) -- generator: anchor tags are lower case; TOC links to CamelCase - [#678](https://github.com/arturbosch/detekt/issues/678) +- Improve documentation of sample project - #438 - [#712](https://github.com/detekt/detekt/pull/712) +- Added tests for naming rules - [#711](https://github.com/detekt/detekt/pull/711) +- Gradle Plugin: Expose a copy of `profiles` - [#709](https://github.com/detekt/detekt/pull/709) +- update gradle to v4.5 - [#708](https://github.com/detekt/detekt/pull/708) +- EmptyClassBlock should not be reported for objects deriving from superclasses - [#707](https://github.com/detekt/detekt/issues/707) +- remove FeatureEnvy class - [#706](https://github.com/detekt/detekt/pull/706) +- Tooling: Accessing the profiles defined by the user - [#705](https://github.com/detekt/detekt/issues/705) +- make detekt-cli tests depend on updated documentation/config - [#704](https://github.com/detekt/detekt/pull/704) +- KDocStyle MultiRule with EndOfSentenceFormat Rule - [#703](https://github.com/detekt/detekt/pull/703) +- Add documentation for style rules - [#702](https://github.com/detekt/detekt/pull/702) +- Add documentation for complexity rules - [#701](https://github.com/detekt/detekt/pull/701) +- [Question] How to reference to a version of the plugin in the main project before it's even published? - [#700](https://github.com/detekt/detekt/issues/700) +- Rule: KDoc's first sentence should have a proper end - [#699](https://github.com/detekt/detekt/issues/699) +- Added documentation for naming rule set - [#697](https://github.com/detekt/detekt/pull/697) +- update kotlin to v1.2.20 - [#696](https://github.com/detekt/detekt/pull/696) +- Added `excludeAnnotatedClasses` to UseDataClass - #694 - [#695](https://github.com/detekt/detekt/pull/695) +- Consider adding `excludeAnnotatedClasses` to UseDataClass. - [#694](https://github.com/detekt/detekt/issues/694) +- Fix compliant case for UntilInsteadOfRangeTo rule - [#693](https://github.com/detekt/detekt/pull/693) +- Documentation generator truncates config descriptions - [#692](https://github.com/detekt/detekt/pull/692) +- Documentation generator truncates some configuration descriptions - [#691](https://github.com/detekt/detekt/issues/691) +- Introduce "naming" ruleset - [#690](https://github.com/detekt/detekt/pull/690) +- Sort Rules in Config & Documentation alphabetically - [#689](https://github.com/detekt/detekt/pull/689) +- Default configuration file should be sorted alphabetically - [#688](https://github.com/detekt/detekt/issues/688) +- Fix MatchingDeclarationName false positives - [#687](https://github.com/detekt/detekt/pull/687) +- MatchingDeclarationName has false positives - [#686](https://github.com/detekt/detekt/issues/686) +- UtilityClassWithPublicConstructor reports classes with delegates - [#682](https://github.com/detekt/detekt/issues/682) +- `ComplexMethod` rule question - [#680](https://github.com/detekt/detekt/issues/680) +- generator: anchor tags are lower case; TOC links to CamelCase - [#678](https://github.com/detekt/detekt/issues/678) -See all issues at: [RC6-3](https://github.com/arturbosch/detekt/milestone/31) +See all issues at: [RC6-3](https://github.com/detekt/detekt/milestone/31) ##### Migration @@ -1008,24 +1008,24 @@ this might cause. #### RC6-2 -- Updates two rules to detect violated range expressions outside of loops - [#684](https://github.com/arturbosch/detekt/pull/684) -- Add UntilInsteadOfRangeTo rule - [#676](https://github.com/arturbosch/detekt/pull/676) -- Implement MatchingDeclarationName rule - [#674](https://github.com/arturbosch/detekt/pull/674) -- Consider adding ignoreOptionalParameters to LongParameterList - [#673](https://github.com/arturbosch/detekt/issues/673) -- Fix false negative reporting of non-named argument - Fixes #659 - [#672](https://github.com/arturbosch/detekt/pull/672) -- Change LateInitUsage to LateinitUsage in failfast.yml - [#671](https://github.com/arturbosch/detekt/pull/671) -- Rule: 'rangeTo' or the '..' call can be replaced with 'until' - [#670](https://github.com/arturbosch/detekt/issues/670) -- Treat all compiler warnings as errors - [#669](https://github.com/arturbosch/detekt/pull/669) -- Do not run EmptyFunctionBlock on open functions - [#667](https://github.com/arturbosch/detekt/pull/667) -- EmptyFunctionBlock should not flag functions with open modifier - [#666](https://github.com/arturbosch/detekt/issues/666) -- Do not run EmptyClassBlock on objects of anonymous classes - [#665](https://github.com/arturbosch/detekt/pull/665) -- MatchingDeclarationName rule to match single declaration to file name - [#664](https://github.com/arturbosch/detekt/issues/664) -- Rename *.yaml to *.yml so fixtures use expected line endings - [#661](https://github.com/arturbosch/detekt/pull/661) -- Appveyor: Use default git config - [#660](https://github.com/arturbosch/detekt/pull/660) -- `ignoreNamedArguments` breaks marking non-named magic number params - [#659](https://github.com/arturbosch/detekt/issues/659) -- Run tests on Travis on Oracle JDK 8 & 9 - [#658](https://github.com/arturbosch/detekt/pull/658) +- Updates two rules to detect violated range expressions outside of loops - [#684](https://github.com/detekt/detekt/pull/684) +- Add UntilInsteadOfRangeTo rule - [#676](https://github.com/detekt/detekt/pull/676) +- Implement MatchingDeclarationName rule - [#674](https://github.com/detekt/detekt/pull/674) +- Consider adding ignoreOptionalParameters to LongParameterList - [#673](https://github.com/detekt/detekt/issues/673) +- Fix false negative reporting of non-named argument - Fixes #659 - [#672](https://github.com/detekt/detekt/pull/672) +- Change LateInitUsage to LateinitUsage in failfast.yml - [#671](https://github.com/detekt/detekt/pull/671) +- Rule: 'rangeTo' or the '..' call can be replaced with 'until' - [#670](https://github.com/detekt/detekt/issues/670) +- Treat all compiler warnings as errors - [#669](https://github.com/detekt/detekt/pull/669) +- Do not run EmptyFunctionBlock on open functions - [#667](https://github.com/detekt/detekt/pull/667) +- EmptyFunctionBlock should not flag functions with open modifier - [#666](https://github.com/detekt/detekt/issues/666) +- Do not run EmptyClassBlock on objects of anonymous classes - [#665](https://github.com/detekt/detekt/pull/665) +- MatchingDeclarationName rule to match single declaration to file name - [#664](https://github.com/detekt/detekt/issues/664) +- Rename *.yaml to *.yml so fixtures use expected line endings - [#661](https://github.com/detekt/detekt/pull/661) +- Appveyor: Use default git config - [#660](https://github.com/detekt/detekt/pull/660) +- `ignoreNamedArguments` breaks marking non-named magic number params - [#659](https://github.com/detekt/detekt/issues/659) +- Run tests on Travis on Oracle JDK 8 & 9 - [#658](https://github.com/detekt/detekt/pull/658) -See all issues at: [RC6-2](https://github.com/arturbosch/detekt/milestone/30) +See all issues at: [RC6-2](https://github.com/detekt/detekt/milestone/30) ##### Migration @@ -1034,80 +1034,80 @@ file name must match the declaration name according to the jetbrains and android #### RC6-1 -- Added factory function check to MemberNameEqualsClassName - [#653](https://github.com/arturbosch/detekt/pull/653) -- detekt generator tests - rc6 - [#650](https://github.com/arturbosch/detekt/pull/650) -- Rule examples improvement - [#649](https://github.com/arturbosch/detekt/pull/649) -- Improved documentation for rule test cases - [#648](https://github.com/arturbosch/detekt/pull/648) -- Apply compiler and baseline changes to work properly on java 9 - [#647](https://github.com/arturbosch/detekt/pull/647) -- Test coverage rc6 - [#645](https://github.com/arturbosch/detekt/pull/645) -- Implements #643 - MagicNumber ignores default values in ctor properties - [#644](https://github.com/arturbosch/detekt/pull/644) -- update gradle to v4.4.1 - [#642](https://github.com/arturbosch/detekt/pull/642) -- Documentation for Exceptions RuleSet - [#640](https://github.com/arturbosch/detekt/pull/640) -- Documentation for "emtpy" rules - [#639](https://github.com/arturbosch/detekt/pull/639) -- Documentation for documentation rules - [#638](https://github.com/arturbosch/detekt/pull/638) -- Change variable min & max length to match IntelliJ. - [#635](https://github.com/arturbosch/detekt/pull/635) -- Remove "native filesystem" warning on Windows - [#634](https://github.com/arturbosch/detekt/pull/634) -- Failed to initialize native filesystem for Windows - [#630](https://github.com/arturbosch/detekt/issues/630) +- Added factory function check to MemberNameEqualsClassName - [#653](https://github.com/detekt/detekt/pull/653) +- detekt generator tests - rc6 - [#650](https://github.com/detekt/detekt/pull/650) +- Rule examples improvement - [#649](https://github.com/detekt/detekt/pull/649) +- Improved documentation for rule test cases - [#648](https://github.com/detekt/detekt/pull/648) +- Apply compiler and baseline changes to work properly on java 9 - [#647](https://github.com/detekt/detekt/pull/647) +- Test coverage rc6 - [#645](https://github.com/detekt/detekt/pull/645) +- Implements #643 - MagicNumber ignores default values in ctor properties - [#644](https://github.com/detekt/detekt/pull/644) +- update gradle to v4.4.1 - [#642](https://github.com/detekt/detekt/pull/642) +- Documentation for Exceptions RuleSet - [#640](https://github.com/detekt/detekt/pull/640) +- Documentation for "emtpy" rules - [#639](https://github.com/detekt/detekt/pull/639) +- Documentation for documentation rules - [#638](https://github.com/detekt/detekt/pull/638) +- Change variable min & max length to match IntelliJ. - [#635](https://github.com/detekt/detekt/pull/635) +- Remove "native filesystem" warning on Windows - [#634](https://github.com/detekt/detekt/pull/634) +- Failed to initialize native filesystem for Windows - [#630](https://github.com/detekt/detekt/issues/630) -See all issues at: [RC6-1](https://github.com/arturbosch/detekt/milestone/29) +See all issues at: [RC6-1](https://github.com/detekt/detekt/milestone/29) ##### Migration - Running detekt under Java 9 should work again with newest Kotlin Version -- Ignores default values in constructor properties (MagicNumber) - [#644](https://github.com/arturbosch/detekt/pull/644) +- Ignores default values in constructor properties (MagicNumber) - [#644](https://github.com/detekt/detekt/pull/644) #### RC6 -- Allow numbers in ClassNaming. - [#631](https://github.com/arturbosch/detekt/pull/631) -- Renamed MethodNameEqualsClassName to support properties - [#629](https://github.com/arturbosch/detekt/pull/629) -- Allow detekt to run on kts too. - [#628](https://github.com/arturbosch/detekt/pull/628) -- Updated kotlin compiler version - [#625](https://github.com/arturbosch/detekt/pull/625) -- Add TooManyFunctions to test-pattern exclude-rules by default. - [#624](https://github.com/arturbosch/detekt/pull/624) -- Consider adding TooManyFunctions to the test-pattern exclude-rules - [#622](https://github.com/arturbosch/detekt/issues/622) -- Added rule documentation to CONTRIBUTING.md - [#621](https://github.com/arturbosch/detekt/pull/621) -- Merged CHANGELOG.md and MIGRATION_GUIDE.md - [#620](https://github.com/arturbosch/detekt/pull/620) -- Do not depend on a specific project path in core classes - #605 - [#619](https://github.com/arturbosch/detekt/pull/619) -- Consider merging CHANGELOG.md and MIGRATION_GUIDE.md - [#618](https://github.com/arturbosch/detekt/issues/618) -- remove migration module - [#617](https://github.com/arturbosch/detekt/pull/617) -- Removed code-smell ruleset - [#616](https://github.com/arturbosch/detekt/pull/616) -- Remove CodeSmell RuleSet - [#615](https://github.com/arturbosch/detekt/issues/615) -- Remove migration module - [#614](https://github.com/arturbosch/detekt/issues/614) -- Allow checks on Kotlin script files (.kts) - [#612](https://github.com/arturbosch/detekt/issues/612) -- compliant and non-compliant code examples documentation - [#610](https://github.com/arturbosch/detekt/pull/610) -- Error message agrees with require condition - [#609](https://github.com/arturbosch/detekt/pull/609) -- False positive in ExceptionRaisedInUnexpectedLocation - [#608](https://github.com/arturbosch/detekt/pull/608) -- Update dependencies - [#607](https://github.com/arturbosch/detekt/pull/607) -- Checkout *.md, *.yml & *.html with LF line endings - [#606](https://github.com/arturbosch/detekt/pull/606) -- Allow --input to handle multiple paths - [#605](https://github.com/arturbosch/detekt/issues/605) -- update documentation after some merges to master - [#604](https://github.com/arturbosch/detekt/pull/604) -- README: Remove copy of default-detekt-config.yml - [#603](https://github.com/arturbosch/detekt/pull/603) -- HtmlOutputFormatTest tests assume Unix-style line endings - [#602](https://github.com/arturbosch/detekt/issues/602) -- add gradle task to assert config and documentation are generated up-to-date - [#601](https://github.com/arturbosch/detekt/pull/601) -- update CONTRIBUTING.md to take detekt-generator behavior into account - [#600](https://github.com/arturbosch/detekt/pull/600) -- ReturnCount augmented to ignore specified function names - [#599](https://github.com/arturbosch/detekt/pull/599) -- Add SpreadOperator to exclude-rules in test-pattern. - [#598](https://github.com/arturbosch/detekt/pull/598) -- update gradle to v4.4 - [#597](https://github.com/arturbosch/detekt/pull/597) -- DetektCli depends on kotlin-compiler-embeddable which pulls in older version of json-org-java - [#596](https://github.com/arturbosch/detekt/issues/596) -- Turn off comments over private function/property - #589 - [#595](https://github.com/arturbosch/detekt/pull/595) -- removes active mark for StringLiteralDuplication - [#594](https://github.com/arturbosch/detekt/pull/594) -- Replace default-detekt-config.yml with generated one - [#593](https://github.com/arturbosch/detekt/pull/593) -- TooManyFunctions description could be improved - [#592](https://github.com/arturbosch/detekt/issues/592) -- Automatically run detekt-generator on detekt-rules build task - [#590](https://github.com/arturbosch/detekt/pull/590) -- Add documentation to generate default config - [#589](https://github.com/arturbosch/detekt/pull/589) -- Add documentation in bugs rules - [#588](https://github.com/arturbosch/detekt/pull/588) -- Remove InterruptedException from TooGenericExceptionCaught rule - [#587](https://github.com/arturbosch/detekt/pull/587) -- InterruptedException is too generic - [#586](https://github.com/arturbosch/detekt/issues/586) -- detekt-generator code examples - [#584](https://github.com/arturbosch/detekt/pull/584) -- Add OutputReport implementation that generates an HTML report - [#583](https://github.com/arturbosch/detekt/pull/583) -- Fix my blogpost title in the README :) - [#582](https://github.com/arturbosch/detekt/pull/582) -- detekt-generator: content section - [#579](https://github.com/arturbosch/detekt/pull/579) -- README: Update description of the 'output' parameter for the Gradle plugin - [#578](https://github.com/arturbosch/detekt/pull/578) -- Output is a folder and not a file anymore - [#577](https://github.com/arturbosch/detekt/issues/577) -- add detekt-generator module to generate documentation and default config - [#563](https://github.com/arturbosch/detekt/pull/563) -- Add message to CodeSmell - [#480](https://github.com/arturbosch/detekt/pull/480) -- Generate default-detekt-config.yml according to rules - [#189](https://github.com/arturbosch/detekt/issues/189) +- Allow numbers in ClassNaming. - [#631](https://github.com/detekt/detekt/pull/631) +- Renamed MethodNameEqualsClassName to support properties - [#629](https://github.com/detekt/detekt/pull/629) +- Allow detekt to run on kts too. - [#628](https://github.com/detekt/detekt/pull/628) +- Updated kotlin compiler version - [#625](https://github.com/detekt/detekt/pull/625) +- Add TooManyFunctions to test-pattern exclude-rules by default. - [#624](https://github.com/detekt/detekt/pull/624) +- Consider adding TooManyFunctions to the test-pattern exclude-rules - [#622](https://github.com/detekt/detekt/issues/622) +- Added rule documentation to CONTRIBUTING.md - [#621](https://github.com/detekt/detekt/pull/621) +- Merged CHANGELOG.md and MIGRATION_GUIDE.md - [#620](https://github.com/detekt/detekt/pull/620) +- Do not depend on a specific project path in core classes - #605 - [#619](https://github.com/detekt/detekt/pull/619) +- Consider merging CHANGELOG.md and MIGRATION_GUIDE.md - [#618](https://github.com/detekt/detekt/issues/618) +- remove migration module - [#617](https://github.com/detekt/detekt/pull/617) +- Removed code-smell ruleset - [#616](https://github.com/detekt/detekt/pull/616) +- Remove CodeSmell RuleSet - [#615](https://github.com/detekt/detekt/issues/615) +- Remove migration module - [#614](https://github.com/detekt/detekt/issues/614) +- Allow checks on Kotlin script files (.kts) - [#612](https://github.com/detekt/detekt/issues/612) +- compliant and non-compliant code examples documentation - [#610](https://github.com/detekt/detekt/pull/610) +- Error message agrees with require condition - [#609](https://github.com/detekt/detekt/pull/609) +- False positive in ExceptionRaisedInUnexpectedLocation - [#608](https://github.com/detekt/detekt/pull/608) +- Update dependencies - [#607](https://github.com/detekt/detekt/pull/607) +- Checkout *.md, *.yml & *.html with LF line endings - [#606](https://github.com/detekt/detekt/pull/606) +- Allow --input to handle multiple paths - [#605](https://github.com/detekt/detekt/issues/605) +- update documentation after some merges to master - [#604](https://github.com/detekt/detekt/pull/604) +- README: Remove copy of default-detekt-config.yml - [#603](https://github.com/detekt/detekt/pull/603) +- HtmlOutputFormatTest tests assume Unix-style line endings - [#602](https://github.com/detekt/detekt/issues/602) +- add gradle task to assert config and documentation are generated up-to-date - [#601](https://github.com/detekt/detekt/pull/601) +- update CONTRIBUTING.md to take detekt-generator behavior into account - [#600](https://github.com/detekt/detekt/pull/600) +- ReturnCount augmented to ignore specified function names - [#599](https://github.com/detekt/detekt/pull/599) +- Add SpreadOperator to exclude-rules in test-pattern. - [#598](https://github.com/detekt/detekt/pull/598) +- update gradle to v4.4 - [#597](https://github.com/detekt/detekt/pull/597) +- DetektCli depends on kotlin-compiler-embeddable which pulls in older version of json-org-java - [#596](https://github.com/detekt/detekt/issues/596) +- Turn off comments over private function/property - #589 - [#595](https://github.com/detekt/detekt/pull/595) +- removes active mark for StringLiteralDuplication - [#594](https://github.com/detekt/detekt/pull/594) +- Replace default-detekt-config.yml with generated one - [#593](https://github.com/detekt/detekt/pull/593) +- TooManyFunctions description could be improved - [#592](https://github.com/detekt/detekt/issues/592) +- Automatically run detekt-generator on detekt-rules build task - [#590](https://github.com/detekt/detekt/pull/590) +- Add documentation to generate default config - [#589](https://github.com/detekt/detekt/pull/589) +- Add documentation in bugs rules - [#588](https://github.com/detekt/detekt/pull/588) +- Remove InterruptedException from TooGenericExceptionCaught rule - [#587](https://github.com/detekt/detekt/pull/587) +- InterruptedException is too generic - [#586](https://github.com/detekt/detekt/issues/586) +- detekt-generator code examples - [#584](https://github.com/detekt/detekt/pull/584) +- Add OutputReport implementation that generates an HTML report - [#583](https://github.com/detekt/detekt/pull/583) +- Fix my blogpost title in the README :) - [#582](https://github.com/detekt/detekt/pull/582) +- detekt-generator: content section - [#579](https://github.com/detekt/detekt/pull/579) +- README: Update description of the 'output' parameter for the Gradle plugin - [#578](https://github.com/detekt/detekt/pull/578) +- Output is a folder and not a file anymore - [#577](https://github.com/detekt/detekt/issues/577) +- add detekt-generator module to generate documentation and default config - [#563](https://github.com/detekt/detekt/pull/563) +- Add message to CodeSmell - [#480](https://github.com/detekt/detekt/pull/480) +- Generate default-detekt-config.yml according to rules - [#189](https://github.com/detekt/detekt/issues/189) -See all issues at: [RC6](https://github.com/arturbosch/detekt/milestone/23) +See all issues at: [RC6](https://github.com/detekt/detekt/milestone/23) ##### Migration @@ -1122,14 +1122,14 @@ markdown files and will later be hosted on the official detekt website. #### RC5-6 -- update Kotlin to v1.1.61 - [#573](https://github.com/arturbosch/detekt/pull/573) -- rules-test-rc5 - [#571](https://github.com/arturbosch/detekt/pull/571) -- UnsafeCast: Fix in SpacingBetweenPackageImports, turn on rule, add present to baseline - [#570](https://github.com/arturbosch/detekt/pull/570) -- Rework naming rules to match intellij inspections - [#569](https://github.com/arturbosch/detekt/pull/569) -- 1.0.0-RC5-5 org.jetbrains.kotlin.psi.KtProperty cannot be cast to org.jetbrains.kotlin.psi.KtClassOrObject - [#568](https://github.com/arturbosch/detekt/issues/568) -- housekeeping_rules - [#565](https://github.com/arturbosch/detekt/pull/565) +- update Kotlin to v1.1.61 - [#573](https://github.com/detekt/detekt/pull/573) +- rules-test-rc5 - [#571](https://github.com/detekt/detekt/pull/571) +- UnsafeCast: Fix in SpacingBetweenPackageImports, turn on rule, add present to baseline - [#570](https://github.com/detekt/detekt/pull/570) +- Rework naming rules to match intellij inspections - [#569](https://github.com/detekt/detekt/pull/569) +- 1.0.0-RC5-5 org.jetbrains.kotlin.psi.KtProperty cannot be cast to org.jetbrains.kotlin.psi.KtClassOrObject - [#568](https://github.com/detekt/detekt/issues/568) +- housekeeping_rules - [#565](https://github.com/detekt/detekt/pull/565) -See all issues at: [RC5-6](https://github.com/arturbosch/detekt/milestone/28) +See all issues at: [RC5-6](https://github.com/detekt/detekt/milestone/28) ##### Migration @@ -1156,18 +1156,18 @@ See all issues at: [RC5-6](https://github.com/arturbosch/detekt/milestone/28) #### RC5-5 -- Add --plugins option to gradle plugin - Fixes #545 - [#561](https://github.com/arturbosch/detekt/pull/561) -- Rewrite messages and issue description for TooManyFunctions rule - #552 - [#560](https://github.com/arturbosch/detekt/pull/560) -- Run built snapshot also on test sources - [#559](https://github.com/arturbosch/detekt/pull/559) -- TooManyFunctions message can be misleading - [#552](https://github.com/arturbosch/detekt/issues/552) -- Added UnnecessaryAbstractClass without body detection - [#551](https://github.com/arturbosch/detekt/pull/551) -- UnnecessaryAbstractClass: misses class without body - [#550](https://github.com/arturbosch/detekt/issues/550) -- Use newer extension syntax in example for Kotlin DSL and add in expli… - [#549](https://github.com/arturbosch/detekt/pull/549) -- improve message of PackageDeclarationStyle - [#548](https://github.com/arturbosch/detekt/pull/548) -- Update to Kotlin 1.1.60 - [#546](https://github.com/arturbosch/detekt/pull/546) -- Using plugin rulesets in Android project - [#545](https://github.com/arturbosch/detekt/issues/545) +- Add --plugins option to gradle plugin - Fixes #545 - [#561](https://github.com/detekt/detekt/pull/561) +- Rewrite messages and issue description for TooManyFunctions rule - #552 - [#560](https://github.com/detekt/detekt/pull/560) +- Run built snapshot also on test sources - [#559](https://github.com/detekt/detekt/pull/559) +- TooManyFunctions message can be misleading - [#552](https://github.com/detekt/detekt/issues/552) +- Added UnnecessaryAbstractClass without body detection - [#551](https://github.com/detekt/detekt/pull/551) +- UnnecessaryAbstractClass: misses class without body - [#550](https://github.com/detekt/detekt/issues/550) +- Use newer extension syntax in example for Kotlin DSL and add in expli… - [#549](https://github.com/detekt/detekt/pull/549) +- improve message of PackageDeclarationStyle - [#548](https://github.com/detekt/detekt/pull/548) +- Update to Kotlin 1.1.60 - [#546](https://github.com/detekt/detekt/pull/546) +- Using plugin rulesets in Android project - [#545](https://github.com/detekt/detekt/issues/545) -See all issues at: [RC5-5](https://github.com/arturbosch/detekt/milestone/27) +See all issues at: [RC5-5](https://github.com/detekt/detekt/milestone/27) ##### Migration @@ -1180,32 +1180,32 @@ See all issues at: [RC5-5](https://github.com/arturbosch/detekt/milestone/27) #### RC5-4 -- Testcase refactoring - #527 - [#541](https://github.com/arturbosch/detekt/pull/541) -- Build improvements - [#539](https://github.com/arturbosch/detekt/pull/539) -- Allow throwing exceptions in init blocks - closes #537 - [#538](https://github.com/arturbosch/detekt/pull/538) -- ExceptionRaisedInUnexpectedLocation in constructer - [#537](https://github.com/arturbosch/detekt/issues/537) -- UnnecessaryAbstractClass takes primary constructor vals into account - [#535](https://github.com/arturbosch/detekt/pull/535) -- UnnecessaryAbstractClass does not see member variables - [#534](https://github.com/arturbosch/detekt/issues/534) +- Testcase refactoring - #527 - [#541](https://github.com/detekt/detekt/pull/541) +- Build improvements - [#539](https://github.com/detekt/detekt/pull/539) +- Allow throwing exceptions in init blocks - closes #537 - [#538](https://github.com/detekt/detekt/pull/538) +- ExceptionRaisedInUnexpectedLocation in constructer - [#537](https://github.com/detekt/detekt/issues/537) +- UnnecessaryAbstractClass takes primary constructor vals into account - [#535](https://github.com/detekt/detekt/pull/535) +- UnnecessaryAbstractClass does not see member variables - [#534](https://github.com/detekt/detekt/issues/534) -See all issues at: [RC5-4](https://github.com/arturbosch/detekt/milestone/26) +See all issues at: [RC5-4](https://github.com/detekt/detekt/milestone/26) #### RC5-3 -- MaxLineLengthRule line number reporting issue - [#526](https://github.com/arturbosch/detekt/pull/526) -- Fixed #522 - CollapsibleIf must not have a if-else child - [#525](https://github.com/arturbosch/detekt/pull/525) -- Implemented #523 - open function option FunctionOnlyReturningConstant - [#524](https://github.com/arturbosch/detekt/pull/524) +- MaxLineLengthRule line number reporting issue - [#526](https://github.com/detekt/detekt/pull/526) +- Fixed #522 - CollapsibleIf must not have a if-else child - [#525](https://github.com/detekt/detekt/pull/525) +- Implemented #523 - open function option FunctionOnlyReturningConstant - [#524](https://github.com/detekt/detekt/pull/524) -See all issues at: [RC5-3](https://github.com/arturbosch/detekt/milestone/25) +See all issues at: [RC5-3](https://github.com/detekt/detekt/milestone/25) #### RC5-2 -- Enhancement #514 - [#519](https://github.com/arturbosch/detekt/pull/519) -- Test cases RC5 - [#511](https://github.com/arturbosch/detekt/pull/511) -- Prepend project name to findings path - #171 - [#510](https://github.com/arturbosch/detekt/pull/510) -- Do not apply rule filters on main sources - [#509](https://github.com/arturbosch/detekt/pull/509) -- WildcardImport should support regex exclusions - [#506](https://github.com/arturbosch/detekt/issues/506) +- Enhancement #514 - [#519](https://github.com/detekt/detekt/pull/519) +- Test cases RC5 - [#511](https://github.com/detekt/detekt/pull/511) +- Prepend project name to findings path - #171 - [#510](https://github.com/detekt/detekt/pull/510) +- Do not apply rule filters on main sources - [#509](https://github.com/detekt/detekt/pull/509) +- WildcardImport should support regex exclusions - [#506](https://github.com/detekt/detekt/issues/506) -See all issues at: [RC5-2](https://github.com/arturbosch/detekt/milestone/24) +See all issues at: [RC5-2](https://github.com/detekt/detekt/milestone/24) ##### Migration @@ -1213,74 +1213,74 @@ See all issues at: [RC5-2](https://github.com/arturbosch/detekt/milestone/24) #### RC5 -- Remove double check in condition - [#505](https://github.com/arturbosch/detekt/pull/505) -- Update README for failFast option - [#502](https://github.com/arturbosch/detekt/pull/502) -- Allow to suppress StringLiteralDuplication on class level - closes #442 - [#494](https://github.com/arturbosch/detekt/pull/494) -- Restrict Postfix operators to ++ and -- - closes #491 - [#493](https://github.com/arturbosch/detekt/pull/493) -- If formatting rule - [#489](https://github.com/arturbosch/detekt/pull/489) -- README: update sample output from the tool - [#488](https://github.com/arturbosch/detekt/pull/488) -- Remove stale rules from config files - [#487](https://github.com/arturbosch/detekt/pull/487) -- Minor: Use toX instead of java.lang.x.parseX - [#486](https://github.com/arturbosch/detekt/pull/486) -- Yml config test - [#484](https://github.com/arturbosch/detekt/pull/484) -- don't report UselessPostfixExpressions on fields in return expressions - [#483](https://github.com/arturbosch/detekt/pull/483) -- ignore "_" named variables for VariableNaming and VariableMinLength - [#482](https://github.com/arturbosch/detekt/pull/482) -- VariableNaming and VariableMinLength: Exclude simple Underscore from Rule - [#481](https://github.com/arturbosch/detekt/issues/481) -- Refactored all detekt-config tests - [#478](https://github.com/arturbosch/detekt/pull/478) -- Fix for #465 - [#477](https://github.com/arturbosch/detekt/pull/477) -- Rule:NestedClassVisibility update - [#474](https://github.com/arturbosch/detekt/pull/474) -- Added DetektYamlConfigTest - [#472](https://github.com/arturbosch/detekt/pull/472) -- Redundant modifier rule - [#470](https://github.com/arturbosch/detekt/pull/470) -- MethodNameEqualsClassName rule - [#469](https://github.com/arturbosch/detekt/pull/469) -- reword detekt timing message and use measureTimeMillis - [#468](https://github.com/arturbosch/detekt/pull/468) -- Processors test - [#463](https://github.com/arturbosch/detekt/pull/463) -- Added static declaration count to ComplexInterface - [#461](https://github.com/arturbosch/detekt/pull/461) -- Apply java-gradle-plugin to detekt-gradle-plugin - [#460](https://github.com/arturbosch/detekt/pull/460) -- Test pattern - #227 - [#459](https://github.com/arturbosch/detekt/pull/459) -- correcly handle imports used in KDoc tags in UnusedImports rule - [#458](https://github.com/arturbosch/detekt/pull/458) -- More false positive for unused imports - [#457](https://github.com/arturbosch/detekt/issues/457) -- Enum constant parameter flagged for MagicNumber - [#455](https://github.com/arturbosch/detekt/issues/455) -- remove default description of modifier order rule - [#454](https://github.com/arturbosch/detekt/pull/454) -- update gradle to v4.2.1 - [#453](https://github.com/arturbosch/detekt/pull/453) -- ModifierOrder has wrong description - [#452](https://github.com/arturbosch/detekt/issues/452) -- update kotlin to v1.1.51 - [#450](https://github.com/arturbosch/detekt/pull/450) -- Add AnnotationExcluder to be able to reuse exluding by annotation mechanism. - [#447](https://github.com/arturbosch/detekt/pull/447) -- Nested class, interface or enum shouldn't be publicly visible - [#446](https://github.com/arturbosch/detekt/pull/446) -- Nested class, interface or enum shouldn't be publicly visible - [#444](https://github.com/arturbosch/detekt/issues/444) -- RuleProviderTest and cleanup of test-cases - [#443](https://github.com/arturbosch/detekt/pull/443) -- Suppressing string duplication doesn't work - [#442](https://github.com/arturbosch/detekt/issues/442) -- Complexity rules: ComplexInterface + MethodOverloading - [#440](https://github.com/arturbosch/detekt/pull/440) -- Fixed #435 - false-positive for UseDataClass rule - [#439](https://github.com/arturbosch/detekt/pull/439) -- Config refactoring - [#436](https://github.com/arturbosch/detekt/pull/436) -- FalsePositive for UseDataClass on enum and annotation classes - [#435](https://github.com/arturbosch/detekt/issues/435) -- DataClassContainsFunctions - allow conversion function - [#434](https://github.com/arturbosch/detekt/issues/434) -- Exception rules modification - [#432](https://github.com/arturbosch/detekt/pull/432) -- Update FunctionNaming regex to work for sentences - [#425](https://github.com/arturbosch/detekt/pull/425) -- Added SerialVersionUIDInSerializableClass rule - [#424](https://github.com/arturbosch/detekt/pull/424) -- Update "MagicNumber" to not mark "Named Arguments" as code smells - [#415](https://github.com/arturbosch/detekt/issues/415) -- Support idea tasks also for windows - closes #413 - [#414](https://github.com/arturbosch/detekt/pull/414) -- IDEA inspections does not work under Windows - [#413](https://github.com/arturbosch/detekt/issues/413) -- Use the default-config.yml as default configuration - [#412](https://github.com/arturbosch/detekt/pull/412) -- Get warning when rule is not defined - [#407](https://github.com/arturbosch/detekt/issues/407) -- Remove formatting module - [#406](https://github.com/arturbosch/detekt/pull/406) -- Add .editorconfig - [#401](https://github.com/arturbosch/detekt/pull/401) -- Add a Gitter chat badge to README.md - [#400](https://github.com/arturbosch/detekt/pull/400) -- Correct mccabe complexity calculation - closes #396 - [#399](https://github.com/arturbosch/detekt/pull/399) -- Update to Gradle 4.1 - [#398](https://github.com/arturbosch/detekt/pull/398) -- Open gitter for easier interaction with users - [#395](https://github.com/arturbosch/detekt/issues/395) -- Fixed #389 in ProtectedMemberInFinalClass rule - [#392](https://github.com/arturbosch/detekt/pull/392) -- False positive ProtectedMemberInFinalClass - [#389](https://github.com/arturbosch/detekt/issues/389) -- Ignore sealed classes for UseDataClass rule check - [#387](https://github.com/arturbosch/detekt/pull/387) -- Use case specific descriptions in UnnecessarySuperTypeDeclaration - [#386](https://github.com/arturbosch/detekt/pull/386) -- Loop rules - [#385](https://github.com/arturbosch/detekt/pull/385) -- Test improvement - [#383](https://github.com/arturbosch/detekt/pull/383) -- Add additional FileProcessListener event - [#381](https://github.com/arturbosch/detekt/pull/381) -- Unnecessary supertype declaration - [#380](https://github.com/arturbosch/detekt/pull/380) -- Address some IntelliJ lint & Kotlin compiler warnings - [#378](https://github.com/arturbosch/detekt/pull/378) -- Do not flag empty functions which are meant to be overridden - [#376](https://github.com/arturbosch/detekt/pull/376) -- Deprecate formatting - [#326](https://github.com/arturbosch/detekt/issues/326) -- Introduce config based way of skipping certain rules for test classes - [#227](https://github.com/arturbosch/detekt/issues/227) +- Remove double check in condition - [#505](https://github.com/detekt/detekt/pull/505) +- Update README for failFast option - [#502](https://github.com/detekt/detekt/pull/502) +- Allow to suppress StringLiteralDuplication on class level - closes #442 - [#494](https://github.com/detekt/detekt/pull/494) +- Restrict Postfix operators to ++ and -- - closes #491 - [#493](https://github.com/detekt/detekt/pull/493) +- If formatting rule - [#489](https://github.com/detekt/detekt/pull/489) +- README: update sample output from the tool - [#488](https://github.com/detekt/detekt/pull/488) +- Remove stale rules from config files - [#487](https://github.com/detekt/detekt/pull/487) +- Minor: Use toX instead of java.lang.x.parseX - [#486](https://github.com/detekt/detekt/pull/486) +- Yml config test - [#484](https://github.com/detekt/detekt/pull/484) +- don't report UselessPostfixExpressions on fields in return expressions - [#483](https://github.com/detekt/detekt/pull/483) +- ignore "_" named variables for VariableNaming and VariableMinLength - [#482](https://github.com/detekt/detekt/pull/482) +- VariableNaming and VariableMinLength: Exclude simple Underscore from Rule - [#481](https://github.com/detekt/detekt/issues/481) +- Refactored all detekt-config tests - [#478](https://github.com/detekt/detekt/pull/478) +- Fix for #465 - [#477](https://github.com/detekt/detekt/pull/477) +- Rule:NestedClassVisibility update - [#474](https://github.com/detekt/detekt/pull/474) +- Added DetektYamlConfigTest - [#472](https://github.com/detekt/detekt/pull/472) +- Redundant modifier rule - [#470](https://github.com/detekt/detekt/pull/470) +- MethodNameEqualsClassName rule - [#469](https://github.com/detekt/detekt/pull/469) +- reword detekt timing message and use measureTimeMillis - [#468](https://github.com/detekt/detekt/pull/468) +- Processors test - [#463](https://github.com/detekt/detekt/pull/463) +- Added static declaration count to ComplexInterface - [#461](https://github.com/detekt/detekt/pull/461) +- Apply java-gradle-plugin to detekt-gradle-plugin - [#460](https://github.com/detekt/detekt/pull/460) +- Test pattern - #227 - [#459](https://github.com/detekt/detekt/pull/459) +- correcly handle imports used in KDoc tags in UnusedImports rule - [#458](https://github.com/detekt/detekt/pull/458) +- More false positive for unused imports - [#457](https://github.com/detekt/detekt/issues/457) +- Enum constant parameter flagged for MagicNumber - [#455](https://github.com/detekt/detekt/issues/455) +- remove default description of modifier order rule - [#454](https://github.com/detekt/detekt/pull/454) +- update gradle to v4.2.1 - [#453](https://github.com/detekt/detekt/pull/453) +- ModifierOrder has wrong description - [#452](https://github.com/detekt/detekt/issues/452) +- update kotlin to v1.1.51 - [#450](https://github.com/detekt/detekt/pull/450) +- Add AnnotationExcluder to be able to reuse exluding by annotation mechanism. - [#447](https://github.com/detekt/detekt/pull/447) +- Nested class, interface or enum shouldn't be publicly visible - [#446](https://github.com/detekt/detekt/pull/446) +- Nested class, interface or enum shouldn't be publicly visible - [#444](https://github.com/detekt/detekt/issues/444) +- RuleProviderTest and cleanup of test-cases - [#443](https://github.com/detekt/detekt/pull/443) +- Suppressing string duplication doesn't work - [#442](https://github.com/detekt/detekt/issues/442) +- Complexity rules: ComplexInterface + MethodOverloading - [#440](https://github.com/detekt/detekt/pull/440) +- Fixed #435 - false-positive for UseDataClass rule - [#439](https://github.com/detekt/detekt/pull/439) +- Config refactoring - [#436](https://github.com/detekt/detekt/pull/436) +- FalsePositive for UseDataClass on enum and annotation classes - [#435](https://github.com/detekt/detekt/issues/435) +- DataClassContainsFunctions - allow conversion function - [#434](https://github.com/detekt/detekt/issues/434) +- Exception rules modification - [#432](https://github.com/detekt/detekt/pull/432) +- Update FunctionNaming regex to work for sentences - [#425](https://github.com/detekt/detekt/pull/425) +- Added SerialVersionUIDInSerializableClass rule - [#424](https://github.com/detekt/detekt/pull/424) +- Update "MagicNumber" to not mark "Named Arguments" as code smells - [#415](https://github.com/detekt/detekt/issues/415) +- Support idea tasks also for windows - closes #413 - [#414](https://github.com/detekt/detekt/pull/414) +- IDEA inspections does not work under Windows - [#413](https://github.com/detekt/detekt/issues/413) +- Use the default-config.yml as default configuration - [#412](https://github.com/detekt/detekt/pull/412) +- Get warning when rule is not defined - [#407](https://github.com/detekt/detekt/issues/407) +- Remove formatting module - [#406](https://github.com/detekt/detekt/pull/406) +- Add .editorconfig - [#401](https://github.com/detekt/detekt/pull/401) +- Add a Gitter chat badge to README.md - [#400](https://github.com/detekt/detekt/pull/400) +- Correct mccabe complexity calculation - closes #396 - [#399](https://github.com/detekt/detekt/pull/399) +- Update to Gradle 4.1 - [#398](https://github.com/detekt/detekt/pull/398) +- Open gitter for easier interaction with users - [#395](https://github.com/detekt/detekt/issues/395) +- Fixed #389 in ProtectedMemberInFinalClass rule - [#392](https://github.com/detekt/detekt/pull/392) +- False positive ProtectedMemberInFinalClass - [#389](https://github.com/detekt/detekt/issues/389) +- Ignore sealed classes for UseDataClass rule check - [#387](https://github.com/detekt/detekt/pull/387) +- Use case specific descriptions in UnnecessarySuperTypeDeclaration - [#386](https://github.com/detekt/detekt/pull/386) +- Loop rules - [#385](https://github.com/detekt/detekt/pull/385) +- Test improvement - [#383](https://github.com/detekt/detekt/pull/383) +- Add additional FileProcessListener event - [#381](https://github.com/detekt/detekt/pull/381) +- Unnecessary supertype declaration - [#380](https://github.com/detekt/detekt/pull/380) +- Address some IntelliJ lint & Kotlin compiler warnings - [#378](https://github.com/detekt/detekt/pull/378) +- Do not flag empty functions which are meant to be overridden - [#376](https://github.com/detekt/detekt/pull/376) +- Deprecate formatting - [#326](https://github.com/detekt/detekt/issues/326) +- Introduce config based way of skipping certain rules for test classes - [#227](https://github.com/detekt/detekt/issues/227) -See all issues at: [RC5](https://github.com/arturbosch/detekt/milestone/22) +See all issues at: [RC5](https://github.com/detekt/detekt/milestone/22) ##### Migration @@ -1293,56 +1293,56 @@ configuration. This allows to turn off specific rules or rule sets for test sour #### RC4-3 - Second bugfix release for RC4 with a bunch of new contributed rules! -- UndocumentedPublicClass: Fix enum support - [#375](https://github.com/arturbosch/detekt/pull/375) -- add rule to forbid certain class names - [#374](https://github.com/arturbosch/detekt/pull/374) -- Tests are not executed anymore but skipped! - [#373](https://github.com/arturbosch/detekt/issues/373) -- Use failfast configuration in CI - [#372](https://github.com/arturbosch/detekt/pull/372) -- Added break and continue to unreachable code rule - [#371](https://github.com/arturbosch/detekt/pull/371) -- A few more exception rules - [#370](https://github.com/arturbosch/detekt/pull/370) -- Added UnnecessaryAbstractClass rule - [#369](https://github.com/arturbosch/detekt/pull/369) -- remove spaces in default-detekt-config.yml - [#368](https://github.com/arturbosch/detekt/pull/368) -- Advanced exception rules - [#366](https://github.com/arturbosch/detekt/pull/366) -- Added PackageDeclaration style rule - [#364](https://github.com/arturbosch/detekt/pull/364) -- Implement Data class rule - [#354](https://github.com/arturbosch/detekt/pull/354) -- Feature/data class rule - [#353](https://github.com/arturbosch/detekt/pull/353) -- Extend naming ruleset - [#302](https://github.com/arturbosch/detekt/issues/302) -- Data class rule - [#263](https://github.com/arturbosch/detekt/issues/263) +- UndocumentedPublicClass: Fix enum support - [#375](https://github.com/detekt/detekt/pull/375) +- add rule to forbid certain class names - [#374](https://github.com/detekt/detekt/pull/374) +- Tests are not executed anymore but skipped! - [#373](https://github.com/detekt/detekt/issues/373) +- Use failfast configuration in CI - [#372](https://github.com/detekt/detekt/pull/372) +- Added break and continue to unreachable code rule - [#371](https://github.com/detekt/detekt/pull/371) +- A few more exception rules - [#370](https://github.com/detekt/detekt/pull/370) +- Added UnnecessaryAbstractClass rule - [#369](https://github.com/detekt/detekt/pull/369) +- remove spaces in default-detekt-config.yml - [#368](https://github.com/detekt/detekt/pull/368) +- Advanced exception rules - [#366](https://github.com/detekt/detekt/pull/366) +- Added PackageDeclaration style rule - [#364](https://github.com/detekt/detekt/pull/364) +- Implement Data class rule - [#354](https://github.com/detekt/detekt/pull/354) +- Feature/data class rule - [#353](https://github.com/detekt/detekt/pull/353) +- Extend naming ruleset - [#302](https://github.com/detekt/detekt/issues/302) +- Data class rule - [#263](https://github.com/detekt/detekt/issues/263) -See all issues at: [RC4-3](https://github.com/arturbosch/detekt/milestone/21) +See all issues at: [RC4-3](https://github.com/detekt/detekt/milestone/21) #### RC4-2 - Bugfix release for RC4 -- Bugfix FunctionMaxLength typo - [#367](https://github.com/arturbosch/detekt/pull/367) -- Fixed protected member report in sealed class - [#362](https://github.com/arturbosch/detekt/pull/362) -- Renamed UselessIncrement to UselessPostfixExp - [#360](https://github.com/arturbosch/detekt/pull/360) -- Bugfix/variable max length const - [#359](https://github.com/arturbosch/detekt/pull/359) -- UndocumentedPublicClass: Add searchInInnerObject configuration property. - [#358](https://github.com/arturbosch/detekt/pull/358) -- fix link to default-detekt-config.yml in migration guide for RC4 - [#357](https://github.com/arturbosch/detekt/pull/357) +- Bugfix FunctionMaxLength typo - [#367](https://github.com/detekt/detekt/pull/367) +- Fixed protected member report in sealed class - [#362](https://github.com/detekt/detekt/pull/362) +- Renamed UselessIncrement to UselessPostfixExp - [#360](https://github.com/detekt/detekt/pull/360) +- Bugfix/variable max length const - [#359](https://github.com/detekt/detekt/pull/359) +- UndocumentedPublicClass: Add searchInInnerObject configuration property. - [#358](https://github.com/detekt/detekt/pull/358) +- fix link to default-detekt-config.yml in migration guide for RC4 - [#357](https://github.com/detekt/detekt/pull/357) -See all issues at: [RC4-2](https://github.com/arturbosch/detekt/milestone/20) +See all issues at: [RC4-2](https://github.com/detekt/detekt/milestone/20) #### RC4 -- Do not use reflection for toString methods - closes #349 - [#351](https://github.com/arturbosch/detekt/pull/351) -- Detekt Gradle plugin breaks the Gradle properties task - [#349](https://github.com/arturbosch/detekt/issues/349) -- Decouple KtTreeCompiler from Detektor - #341 - [#348](https://github.com/arturbosch/detekt/pull/348) -- fix README to mention the renamed --plugins instead of --rules - [#346](https://github.com/arturbosch/detekt/pull/346) -- Decouple KtTreeCompiler, KtCompiler from Detektor - [#341](https://github.com/arturbosch/detekt/issues/341) -- Reimplement thrown-/catched exception rules - #95 - [#334](https://github.com/arturbosch/detekt/pull/334) -- Reimplement throw-/catch-exception-rules as MultiRules - [#332](https://github.com/arturbosch/detekt/pull/332) -- remove unnecessary parentheses in the main codebase - [#330](https://github.com/arturbosch/detekt/pull/330) -- Added packagePattern option to config - [#329](https://github.com/arturbosch/detekt/pull/329) -- add rule to detect Unnecessary Parentheses - [#328](https://github.com/arturbosch/detekt/pull/328) -- PackagePattern in naming conventions - [#327](https://github.com/arturbosch/detekt/issues/327) -- align naming patterns for enum entries in rule + default config - [#325](https://github.com/arturbosch/detekt/pull/325) -- allow suppressing `all` - [#324](https://github.com/arturbosch/detekt/pull/324) -- Combine all empty block rules into one multi rule - #95 - [#322](https://github.com/arturbosch/detekt/pull/322) -- Refactored tests and increased coverage - [#321](https://github.com/arturbosch/detekt/pull/321) -- Refactor Naming rules and add Variable/Function length rules - [#320](https://github.com/arturbosch/detekt/pull/320) -- Added protected member in final class rule - [#317](https://github.com/arturbosch/detekt/pull/317) -- [Poll] Do people care about separated EmptyXXXBlock, ThrowXXX and CatchXXX rules? - [#95](https://github.com/arturbosch/detekt/issues/95) +- Do not use reflection for toString methods - closes #349 - [#351](https://github.com/detekt/detekt/pull/351) +- Detekt Gradle plugin breaks the Gradle properties task - [#349](https://github.com/detekt/detekt/issues/349) +- Decouple KtTreeCompiler from Detektor - #341 - [#348](https://github.com/detekt/detekt/pull/348) +- fix README to mention the renamed --plugins instead of --rules - [#346](https://github.com/detekt/detekt/pull/346) +- Decouple KtTreeCompiler, KtCompiler from Detektor - [#341](https://github.com/detekt/detekt/issues/341) +- Reimplement thrown-/catched exception rules - #95 - [#334](https://github.com/detekt/detekt/pull/334) +- Reimplement throw-/catch-exception-rules as MultiRules - [#332](https://github.com/detekt/detekt/pull/332) +- remove unnecessary parentheses in the main codebase - [#330](https://github.com/detekt/detekt/pull/330) +- Added packagePattern option to config - [#329](https://github.com/detekt/detekt/pull/329) +- add rule to detect Unnecessary Parentheses - [#328](https://github.com/detekt/detekt/pull/328) +- PackagePattern in naming conventions - [#327](https://github.com/detekt/detekt/issues/327) +- align naming patterns for enum entries in rule + default config - [#325](https://github.com/detekt/detekt/pull/325) +- allow suppressing `all` - [#324](https://github.com/detekt/detekt/pull/324) +- Combine all empty block rules into one multi rule - #95 - [#322](https://github.com/detekt/detekt/pull/322) +- Refactored tests and increased coverage - [#321](https://github.com/detekt/detekt/pull/321) +- Refactor Naming rules and add Variable/Function length rules - [#320](https://github.com/detekt/detekt/pull/320) +- Added protected member in final class rule - [#317](https://github.com/detekt/detekt/pull/317) +- [Poll] Do people care about separated EmptyXXXBlock, ThrowXXX and CatchXXX rules? - [#95](https://github.com/detekt/detekt/issues/95) -See all issues at: [RC4](https://github.com/arturbosch/detekt/milestone/18) +See all issues at: [RC4](https://github.com/detekt/detekt/milestone/18) ##### Migration @@ -1355,19 +1355,19 @@ See [default-detekt-config.yml](detekt-cli/src/main/resources/default-detekt-con #### RC3 -- Do not consider empty returns as OptionalReturnKeyword - [#314](https://github.com/arturbosch/detekt/pull/314) -- Added % to comment-source ratio output - [#309](https://github.com/arturbosch/detekt/pull/309) -- Add rules property for multirule - [#308](https://github.com/arturbosch/detekt/pull/308) -- Use function instead of method in descriptions and ids of CommentOver… - [#307](https://github.com/arturbosch/detekt/pull/307) -- update kotlin to v1.1.4 - [#306](https://github.com/arturbosch/detekt/pull/306) -- OptionalReturnKeyword: Fails with expressions - [#304](https://github.com/arturbosch/detekt/issues/304) -- Treat comment as non-empty block body - [#303](https://github.com/arturbosch/detekt/pull/303) -- Added StringLiteralDuplication rule - [#300](https://github.com/arturbosch/detekt/pull/300) -- Added naming rule for packages - [#299](https://github.com/arturbosch/detekt/pull/299) -- Update used detekt to RC2 - [#298](https://github.com/arturbosch/detekt/pull/298) -- Equals() smells - [#297](https://github.com/arturbosch/detekt/pull/297) +- Do not consider empty returns as OptionalReturnKeyword - [#314](https://github.com/detekt/detekt/pull/314) +- Added % to comment-source ratio output - [#309](https://github.com/detekt/detekt/pull/309) +- Add rules property for multirule - [#308](https://github.com/detekt/detekt/pull/308) +- Use function instead of method in descriptions and ids of CommentOver… - [#307](https://github.com/detekt/detekt/pull/307) +- update kotlin to v1.1.4 - [#306](https://github.com/detekt/detekt/pull/306) +- OptionalReturnKeyword: Fails with expressions - [#304](https://github.com/detekt/detekt/issues/304) +- Treat comment as non-empty block body - [#303](https://github.com/detekt/detekt/pull/303) +- Added StringLiteralDuplication rule - [#300](https://github.com/detekt/detekt/pull/300) +- Added naming rule for packages - [#299](https://github.com/detekt/detekt/pull/299) +- Update used detekt to RC2 - [#298](https://github.com/detekt/detekt/pull/298) +- Equals() smells - [#297](https://github.com/detekt/detekt/pull/297) -See all issues at: [RC3](https://github.com/arturbosch/detekt/milestone/17) +See all issues at: [RC3](https://github.com/detekt/detekt/milestone/17) ##### Migration @@ -1375,17 +1375,17 @@ See all issues at: [RC3](https://github.com/arturbosch/detekt/milestone/17) #### RC2 -- Remove magic numbers and other detekt issues - [#295](https://github.com/arturbosch/detekt/pull/295) -- Ignore based on checkstyle for MagicNumber - [#289](https://github.com/arturbosch/detekt/pull/289) -- Revert implementation configuration in cli module - [#283](https://github.com/arturbosch/detekt/pull/283) -- Run cli on ci - [#282](https://github.com/arturbosch/detekt/pull/282) -- Variables/Properties declaring numbers shouldn't be flagged for MagicNumber - [#280](https://github.com/arturbosch/detekt/issues/280) -- Added UnnecessaryConversionTemporary rule - [#279](https://github.com/arturbosch/detekt/pull/279) -- More metrics - [#277](https://github.com/arturbosch/detekt/pull/277) -- MagicNumber rule throw report for null initialized variable - [#276](https://github.com/arturbosch/detekt/issues/276) -- Improve build setup - [#275](https://github.com/arturbosch/detekt/pull/275) +- Remove magic numbers and other detekt issues - [#295](https://github.com/detekt/detekt/pull/295) +- Ignore based on checkstyle for MagicNumber - [#289](https://github.com/detekt/detekt/pull/289) +- Revert implementation configuration in cli module - [#283](https://github.com/detekt/detekt/pull/283) +- Run cli on ci - [#282](https://github.com/detekt/detekt/pull/282) +- Variables/Properties declaring numbers shouldn't be flagged for MagicNumber - [#280](https://github.com/detekt/detekt/issues/280) +- Added UnnecessaryConversionTemporary rule - [#279](https://github.com/detekt/detekt/pull/279) +- More metrics - [#277](https://github.com/detekt/detekt/pull/277) +- MagicNumber rule throw report for null initialized variable - [#276](https://github.com/detekt/detekt/issues/276) +- Improve build setup - [#275](https://github.com/detekt/detekt/pull/275) -See all issues at: [RC2](https://github.com/arturbosch/detekt/milestone/16) +See all issues at: [RC2](https://github.com/detekt/detekt/milestone/16) ##### Migration @@ -1393,25 +1393,25 @@ See all issues at: [RC2](https://github.com/arturbosch/detekt/milestone/16) #### RC1 -- Allow to override the output name of output reports - [#272](https://github.com/arturbosch/detekt/pull/272) -- Rewrite sample project featuring processors, reports and rule sets - [#268](https://github.com/arturbosch/detekt/pull/268) -- Update detekt-sample-ruleset - [#257](https://github.com/arturbosch/detekt/issues/257) -- Fix input flag for standalone gradle task in README - [#256](https://github.com/arturbosch/detekt/pull/256) -- Added rule for safe cast to config.yml - [#254](https://github.com/arturbosch/detekt/pull/254) -- LateInitUsage: One annotation match is enough to let the property be ignored. - [#245](https://github.com/arturbosch/detekt/pull/245) -- Exclude extensions by id or priority - [#243](https://github.com/arturbosch/detekt/issues/243) -- Plugins & Extensions - [#242](https://github.com/arturbosch/detekt/pull/242) -- Rule: ModifierOrder - [#239](https://github.com/arturbosch/detekt/pull/239) -- Added metrics for packages and kt files - [#238](https://github.com/arturbosch/detekt/pull/238) -- Added metrics for classes, methods and fields - [#237](https://github.com/arturbosch/detekt/pull/237) -- Fix --project mention in README. - [#236](https://github.com/arturbosch/detekt/pull/236) -- Use newest detekt with failfast profile in CI - [#234](https://github.com/arturbosch/detekt/pull/234) -- Added rule for safe cast instead of if-else-null - [#233](https://github.com/arturbosch/detekt/pull/233) -- Terminal Output customization - [#171](https://github.com/arturbosch/detekt/issues/171) -- Change Main.rules to something like 'jars' or 'plugins' - [#134](https://github.com/arturbosch/detekt/issues/134) -- FileProcessListener's should be loaded through a ServiceLoader - [#101](https://github.com/arturbosch/detekt/issues/101) +- Allow to override the output name of output reports - [#272](https://github.com/detekt/detekt/pull/272) +- Rewrite sample project featuring processors, reports and rule sets - [#268](https://github.com/detekt/detekt/pull/268) +- Update detekt-sample-ruleset - [#257](https://github.com/detekt/detekt/issues/257) +- Fix input flag for standalone gradle task in README - [#256](https://github.com/detekt/detekt/pull/256) +- Added rule for safe cast to config.yml - [#254](https://github.com/detekt/detekt/pull/254) +- LateInitUsage: One annotation match is enough to let the property be ignored. - [#245](https://github.com/detekt/detekt/pull/245) +- Exclude extensions by id or priority - [#243](https://github.com/detekt/detekt/issues/243) +- Plugins & Extensions - [#242](https://github.com/detekt/detekt/pull/242) +- Rule: ModifierOrder - [#239](https://github.com/detekt/detekt/pull/239) +- Added metrics for packages and kt files - [#238](https://github.com/detekt/detekt/pull/238) +- Added metrics for classes, methods and fields - [#237](https://github.com/detekt/detekt/pull/237) +- Fix --project mention in README. - [#236](https://github.com/detekt/detekt/pull/236) +- Use newest detekt with failfast profile in CI - [#234](https://github.com/detekt/detekt/pull/234) +- Added rule for safe cast instead of if-else-null - [#233](https://github.com/detekt/detekt/pull/233) +- Terminal Output customization - [#171](https://github.com/detekt/detekt/issues/171) +- Change Main.rules to something like 'jars' or 'plugins' - [#134](https://github.com/detekt/detekt/issues/134) +- FileProcessListener's should be loaded through a ServiceLoader - [#101](https://github.com/detekt/detekt/issues/101) -See all issues at: [RC1](https://github.com/arturbosch/detekt/milestone/15) +See all issues at: [RC1](https://github.com/detekt/detekt/milestone/15) ##### Migration @@ -1424,41 +1424,41 @@ the configuration. #### M13.2 -- Always use the 'main' profile as default even if 'profile' parameter set but a profile with name 'main' exists - [#231](https://github.com/arturbosch/detekt/issues/231) -- Fix DetektGenerateConfigTask to use --input instead of --project. - [#230](https://github.com/arturbosch/detekt/pull/230) -- Run Detekt on Detekt [#212](https://github.com/arturbosch/detekt/pull/212) -- Extend UndocumentedPublicClass with searchInNestedClass, searchInInnerClass & searchInInnerInterface properties. - [#210](https://github.com/arturbosch/detekt/pull/210) +- Always use the 'main' profile as default even if 'profile' parameter set but a profile with name 'main' exists - [#231](https://github.com/detekt/detekt/issues/231) +- Fix DetektGenerateConfigTask to use --input instead of --project. - [#230](https://github.com/detekt/detekt/pull/230) +- Run Detekt on Detekt [#212](https://github.com/detekt/detekt/pull/212) +- Extend UndocumentedPublicClass with searchInNestedClass, searchInInnerClass & searchInInnerInterface properties. - [#210](https://github.com/detekt/detekt/pull/210) -See all issues at: [M13.2](https://github.com/arturbosch/detekt/milestone/14) +See all issues at: [M13.2](https://github.com/detekt/detekt/milestone/14) #### M13.1 -- LateinitUsage: Add ignoreOnClassesPattern property. - [#226](https://github.com/arturbosch/detekt/pull/226) -- Implement ForbiddenComment Rule. - [#225](https://github.com/arturbosch/detekt/pull/225) -- Add Excludes to WildcardImport rule reusing logic from LateinitUsage - [#224](https://github.com/arturbosch/detekt/pull/224) -- Excluding specific imports from the WildcardImport rule - [#223](https://github.com/arturbosch/detekt/issues/223) -- Anonymous classes should not be checked for documentation - [#221](https://github.com/arturbosch/detekt/pull/221) -- Provide a test case for custom rule sets - [#220](https://github.com/arturbosch/detekt/pull/220) -- Update Detekt to 1.0.0.M13 and add usedDetektVersion to gradle.properties. - [#218](https://github.com/arturbosch/detekt/pull/218) -- Change gradle task parametr 'rulesets' to 'ruleSets' - [#216](https://github.com/arturbosch/detekt/pull/216) -- UndocumentedPublicClass for anonymous classes - [#213](https://github.com/arturbosch/detekt/issues/213) -- rename dept to debt - [#211](https://github.com/arturbosch/detekt/pull/211) -- LateInitUsage: Ignore this rule in tests - [#207](https://github.com/arturbosch/detekt/issues/207) -- change cli parameter --project (-p) to --input (-i) - [#206](https://github.com/arturbosch/detekt/pull/206) -- Meaning of Dept - [#205](https://github.com/arturbosch/detekt/issues/205) -- Add new line to each kotlin file. - [#204](https://github.com/arturbosch/detekt/pull/204) -- Fix unused import false positive in kdoc - closes#201 - [#203](https://github.com/arturbosch/detekt/pull/203) -- False positive UnusedImports - [#201](https://github.com/arturbosch/detekt/issues/201) -- Add Tests for WildcardImport and NamingConvention rules - [#200](https://github.com/arturbosch/detekt/pull/200) -- Allow package matching via excludeAnnotatedProperties in LateinitUsage Rule. - [#199](https://github.com/arturbosch/detekt/pull/199) -- UndocumentedPublicClass false positive with annotations - [#194](https://github.com/arturbosch/detekt/issues/194) -- Rule TodoComment - [#182](https://github.com/arturbosch/detekt/issues/182) -- Rule NewlineAtEndOfFile - [#181](https://github.com/arturbosch/detekt/issues/181) -- Fail fast approach / configuration - [#179](https://github.com/arturbosch/detekt/issues/179) -- Rule: SpreadOperator - [#167](https://github.com/arturbosch/detekt/issues/167) -- Not providing a detekt-closure or profile should not crash the gradle-plugin but instead just use the default profile - [#166](https://github.com/arturbosch/detekt/issues/166) +- LateinitUsage: Add ignoreOnClassesPattern property. - [#226](https://github.com/detekt/detekt/pull/226) +- Implement ForbiddenComment Rule. - [#225](https://github.com/detekt/detekt/pull/225) +- Add Excludes to WildcardImport rule reusing logic from LateinitUsage - [#224](https://github.com/detekt/detekt/pull/224) +- Excluding specific imports from the WildcardImport rule - [#223](https://github.com/detekt/detekt/issues/223) +- Anonymous classes should not be checked for documentation - [#221](https://github.com/detekt/detekt/pull/221) +- Provide a test case for custom rule sets - [#220](https://github.com/detekt/detekt/pull/220) +- Update Detekt to 1.0.0.M13 and add usedDetektVersion to gradle.properties. - [#218](https://github.com/detekt/detekt/pull/218) +- Change gradle task parametr 'rulesets' to 'ruleSets' - [#216](https://github.com/detekt/detekt/pull/216) +- UndocumentedPublicClass for anonymous classes - [#213](https://github.com/detekt/detekt/issues/213) +- rename dept to debt - [#211](https://github.com/detekt/detekt/pull/211) +- LateInitUsage: Ignore this rule in tests - [#207](https://github.com/detekt/detekt/issues/207) +- change cli parameter --project (-p) to --input (-i) - [#206](https://github.com/detekt/detekt/pull/206) +- Meaning of Dept - [#205](https://github.com/detekt/detekt/issues/205) +- Add new line to each kotlin file. - [#204](https://github.com/detekt/detekt/pull/204) +- Fix unused import false positive in kdoc - closes#201 - [#203](https://github.com/detekt/detekt/pull/203) +- False positive UnusedImports - [#201](https://github.com/detekt/detekt/issues/201) +- Add Tests for WildcardImport and NamingConvention rules - [#200](https://github.com/detekt/detekt/pull/200) +- Allow package matching via excludeAnnotatedProperties in LateinitUsage Rule. - [#199](https://github.com/detekt/detekt/pull/199) +- UndocumentedPublicClass false positive with annotations - [#194](https://github.com/detekt/detekt/issues/194) +- Rule TodoComment - [#182](https://github.com/detekt/detekt/issues/182) +- Rule NewlineAtEndOfFile - [#181](https://github.com/detekt/detekt/issues/181) +- Fail fast approach / configuration - [#179](https://github.com/detekt/detekt/issues/179) +- Rule: SpreadOperator - [#167](https://github.com/detekt/detekt/issues/167) +- Not providing a detekt-closure or profile should not crash the gradle-plugin but instead just use the default profile - [#166](https://github.com/detekt/detekt/issues/166) -See all issues at: [M13.1](https://github.com/arturbosch/detekt/milestone/13) +See all issues at: [M13.1](https://github.com/detekt/detekt/milestone/13) ##### Migration @@ -1467,76 +1467,76 @@ See all issues at: [M13.1](https://github.com/arturbosch/detekt/milestone/13) #### M13 -- Add missing unit test for Int.reached. - [#191](https://github.com/arturbosch/detekt/pull/191) -- Add failFast option to the configuration. - [#186](https://github.com/arturbosch/detekt/pull/186) -- Convert single line methods to Expression Bodys. - [#185](https://github.com/arturbosch/detekt/pull/185) -- Fix issue when default config should from the resources by the cli - [#178](https://github.com/arturbosch/detekt/pull/178) -- Rule: SpreadOperator - [#177](https://github.com/arturbosch/detekt/pull/177) -- Update readme, contributors, changelog, migration guide for M13 - [#176](https://github.com/arturbosch/detekt/issues/176) -- Rule: Expression with label - [#175](https://github.com/arturbosch/detekt/pull/175) -- Rule: Report unsafe call on nullable types - [#174](https://github.com/arturbosch/detekt/pull/174) -- Rule: Expression with label - [#173](https://github.com/arturbosch/detekt/issues/173) -- Rule: Report unsafe call on nullable types - [#172](https://github.com/arturbosch/detekt/issues/172) -- Fix off by one error in Int.reached regarding SmellThreshold. - [#170](https://github.com/arturbosch/detekt/pull/170) -- Set the group to verification on all gradle tasks. - [#168](https://github.com/arturbosch/detekt/pull/168) -- Fix a typo in CHANGELOG.md - [#165](https://github.com/arturbosch/detekt/pull/165) -- Update kotlin version to 1.1.3-2 - closes #124 - [#164](https://github.com/arturbosch/detekt/pull/164) -- Added missed brackets to repository name in readme - [#163](https://github.com/arturbosch/detekt/pull/163) -- Rule: Find usages of forEach on Ranges - [#161](https://github.com/arturbosch/detekt/pull/161) -- Running formatting checks without formatting the code on CI - [#159](https://github.com/arturbosch/detekt/issues/159) -- Remove lateinit usage in Main.kt - [#156](https://github.com/arturbosch/detekt/pull/156) -- Rule: Report forEach usages on Ranges - [#155](https://github.com/arturbosch/detekt/issues/155) -- More descriptions to for most rules - [#154](https://github.com/arturbosch/detekt/pull/154) -- Always show the absolute number of code smells - [#152](https://github.com/arturbosch/detekt/issues/152) -- Use the latest version in gradle-plugin as default - [#151](https://github.com/arturbosch/detekt/issues/151) -- Turn off auto correction for sonar analysis - [#147](https://github.com/arturbosch/detekt/pull/147) -- Fix AppVeyor badge in `README.md` - [#146](https://github.com/arturbosch/detekt/pull/146) -- README: Fix various issues with variables in code examples - [#142](https://github.com/arturbosch/detekt/pull/142) -- add descriptions to rules in style, empty, exceptions - [#140](https://github.com/arturbosch/detekt/pull/140) -- Remove lateinit in project property in Main class - [#132](https://github.com/arturbosch/detekt/issues/132) -- Should rule providers have their own package or live in the according package - [#131](https://github.com/arturbosch/detekt/issues/131) -- Issue descriptions for each rule (also displayed in `Detekt way` - sonar plugin) - [#110](https://github.com/arturbosch/detekt/issues/110) +- Add missing unit test for Int.reached. - [#191](https://github.com/detekt/detekt/pull/191) +- Add failFast option to the configuration. - [#186](https://github.com/detekt/detekt/pull/186) +- Convert single line methods to Expression Bodys. - [#185](https://github.com/detekt/detekt/pull/185) +- Fix issue when default config should from the resources by the cli - [#178](https://github.com/detekt/detekt/pull/178) +- Rule: SpreadOperator - [#177](https://github.com/detekt/detekt/pull/177) +- Update readme, contributors, changelog, migration guide for M13 - [#176](https://github.com/detekt/detekt/issues/176) +- Rule: Expression with label - [#175](https://github.com/detekt/detekt/pull/175) +- Rule: Report unsafe call on nullable types - [#174](https://github.com/detekt/detekt/pull/174) +- Rule: Expression with label - [#173](https://github.com/detekt/detekt/issues/173) +- Rule: Report unsafe call on nullable types - [#172](https://github.com/detekt/detekt/issues/172) +- Fix off by one error in Int.reached regarding SmellThreshold. - [#170](https://github.com/detekt/detekt/pull/170) +- Set the group to verification on all gradle tasks. - [#168](https://github.com/detekt/detekt/pull/168) +- Fix a typo in CHANGELOG.md - [#165](https://github.com/detekt/detekt/pull/165) +- Update kotlin version to 1.1.3-2 - closes #124 - [#164](https://github.com/detekt/detekt/pull/164) +- Added missed brackets to repository name in readme - [#163](https://github.com/detekt/detekt/pull/163) +- Rule: Find usages of forEach on Ranges - [#161](https://github.com/detekt/detekt/pull/161) +- Running formatting checks without formatting the code on CI - [#159](https://github.com/detekt/detekt/issues/159) +- Remove lateinit usage in Main.kt - [#156](https://github.com/detekt/detekt/pull/156) +- Rule: Report forEach usages on Ranges - [#155](https://github.com/detekt/detekt/issues/155) +- More descriptions to for most rules - [#154](https://github.com/detekt/detekt/pull/154) +- Always show the absolute number of code smells - [#152](https://github.com/detekt/detekt/issues/152) +- Use the latest version in gradle-plugin as default - [#151](https://github.com/detekt/detekt/issues/151) +- Turn off auto correction for sonar analysis - [#147](https://github.com/detekt/detekt/pull/147) +- Fix AppVeyor badge in `README.md` - [#146](https://github.com/detekt/detekt/pull/146) +- README: Fix various issues with variables in code examples - [#142](https://github.com/detekt/detekt/pull/142) +- add descriptions to rules in style, empty, exceptions - [#140](https://github.com/detekt/detekt/pull/140) +- Remove lateinit in project property in Main class - [#132](https://github.com/detekt/detekt/issues/132) +- Should rule providers have their own package or live in the according package - [#131](https://github.com/detekt/detekt/issues/131) +- Issue descriptions for each rule (also displayed in `Detekt way` - sonar plugin) - [#110](https://github.com/detekt/detekt/issues/110) -See all issues at: [M13](https://github.com/arturbosch/detekt/milestone/12) +See all issues at: [M13](https://github.com/detekt/detekt/milestone/12) #### M12.1 & M12.2 & M12.3 & M12.4 -- Convert Kotlin source code strings to Unix line endings - [#137](https://github.com/arturbosch/detekt/pull/137) -- Simplify reading resource files - [#136](https://github.com/arturbosch/detekt/pull/136) -- [WIP] Windows support - [#135](https://github.com/arturbosch/detekt/pull/135) -- M12.1 fails with "URISyntaxException: Illegal character in authority at index 7" under windows - [#128](https://github.com/arturbosch/detekt/issues/128) -- Rule to find `lateinit` usages - [#127](https://github.com/arturbosch/detekt/pull/127) -- Wrong link format in Changelog - [#121](https://github.com/arturbosch/detekt/issues/121) -- Setup appveyor for windows builds - [#118](https://github.com/arturbosch/detekt/issues/118) -- Duplicate main profile - [#116](https://github.com/arturbosch/detekt/issues/116) -- Referring to custom detekt.yml config results in InvalidPathExceptionon Windows - [#115](https://github.com/arturbosch/detekt/issues/115) -- MaxLineLength should allow excluding import and package statements - [#111](https://github.com/arturbosch/detekt/issues/111) -- Rule: Prohibit usage of `lateinit` - [#106](https://github.com/arturbosch/detekt/issues/106) -- Use the latest version in gradle-plugin as default - [#151](https://github.com/arturbosch/detekt/issues/151) -- False positive for EmptyFunctionBlock with overriden function - [#151](https://github.com/arturbosch/detekt/issues/148) +- Convert Kotlin source code strings to Unix line endings - [#137](https://github.com/detekt/detekt/pull/137) +- Simplify reading resource files - [#136](https://github.com/detekt/detekt/pull/136) +- [WIP] Windows support - [#135](https://github.com/detekt/detekt/pull/135) +- M12.1 fails with "URISyntaxException: Illegal character in authority at index 7" under windows - [#128](https://github.com/detekt/detekt/issues/128) +- Rule to find `lateinit` usages - [#127](https://github.com/detekt/detekt/pull/127) +- Wrong link format in Changelog - [#121](https://github.com/detekt/detekt/issues/121) +- Setup appveyor for windows builds - [#118](https://github.com/detekt/detekt/issues/118) +- Duplicate main profile - [#116](https://github.com/detekt/detekt/issues/116) +- Referring to custom detekt.yml config results in InvalidPathExceptionon Windows - [#115](https://github.com/detekt/detekt/issues/115) +- MaxLineLength should allow excluding import and package statements - [#111](https://github.com/detekt/detekt/issues/111) +- Rule: Prohibit usage of `lateinit` - [#106](https://github.com/detekt/detekt/issues/106) +- Use the latest version in gradle-plugin as default - [#151](https://github.com/detekt/detekt/issues/151) +- False positive for EmptyFunctionBlock with overriden function - [#151](https://github.com/detekt/detekt/issues/148) -See all issues at: [M12.2](https://github.com/arturbosch/detekt/milestone/9) +See all issues at: [M12.2](https://github.com/detekt/detekt/milestone/9) #### M12 -- Suppress for TooManyFunctions is not considered in detekt - [#108](https://github.com/arturbosch/detekt/issues/108) -- Update documentation and migration guide for M12 - [#105](https://github.com/arturbosch/detekt/issues/105) -- NoDocOverPublicClass always reported for objects - [#104](https://github.com/arturbosch/detekt/issues/104) -- Script to generate release notes from milestone - [#102](https://github.com/arturbosch/detekt/issues/102) -- Encapsulate common fields of Rule and Finding in Issue class - [#97](https://github.com/arturbosch/detekt/issues/97) -- Separate findings logic from rule logic - [#93](https://github.com/arturbosch/detekt/issues/93) -- Add support for composable configurations - [#92](https://github.com/arturbosch/detekt/issues/92) -- ClassCastException: java.lang.Integer cannot be cast to java.lang.String - [#89](https://github.com/arturbosch/detekt/issues/89) -- Baseline does not work anymore as expected due to inner restructure for the new output formats - [#83](https://github.com/arturbosch/detekt/issues/83) -- Prevent ClassCastExceptions in Configurations - [#82](https://github.com/arturbosch/detekt/issues/82) -- Migrate away from load() method in tests - [#77](https://github.com/arturbosch/detekt/issues/77) -- Support any common report file format - [#66](https://github.com/arturbosch/detekt/issues/66) -- Not all return keywords are removed when using ExpressionBodySyntax quickfix - [#58](https://github.com/arturbosch/detekt/issues/58) -- Rule: Max line length - [#56](https://github.com/arturbosch/detekt/issues/56) -- Rule: SingleExpression statements with multiple return paths - [#45](https://github.com/arturbosch/detekt/issues/45) -- Allow different naming conventions for tests - [#24](https://github.com/arturbosch/detekt/issues/24) +- Suppress for TooManyFunctions is not considered in detekt - [#108](https://github.com/detekt/detekt/issues/108) +- Update documentation and migration guide for M12 - [#105](https://github.com/detekt/detekt/issues/105) +- NoDocOverPublicClass always reported for objects - [#104](https://github.com/detekt/detekt/issues/104) +- Script to generate release notes from milestone - [#102](https://github.com/detekt/detekt/issues/102) +- Encapsulate common fields of Rule and Finding in Issue class - [#97](https://github.com/detekt/detekt/issues/97) +- Separate findings logic from rule logic - [#93](https://github.com/detekt/detekt/issues/93) +- Add support for composable configurations - [#92](https://github.com/detekt/detekt/issues/92) +- ClassCastException: java.lang.Integer cannot be cast to java.lang.String - [#89](https://github.com/detekt/detekt/issues/89) +- Baseline does not work anymore as expected due to inner restructure for the new output formats - [#83](https://github.com/detekt/detekt/issues/83) +- Prevent ClassCastExceptions in Configurations - [#82](https://github.com/detekt/detekt/issues/82) +- Migrate away from load() method in tests - [#77](https://github.com/detekt/detekt/issues/77) +- Support any common report file format - [#66](https://github.com/detekt/detekt/issues/66) +- Not all return keywords are removed when using ExpressionBodySyntax quickfix - [#58](https://github.com/detekt/detekt/issues/58) +- Rule: Max line length - [#56](https://github.com/detekt/detekt/issues/56) +- Rule: SingleExpression statements with multiple return paths - [#45](https://github.com/detekt/detekt/issues/45) +- Allow different naming conventions for tests - [#24](https://github.com/detekt/detekt/issues/24) -See all issues at: [M12](https://github.com/arturbosch/detekt/milestone/8) +See all issues at: [M12](https://github.com/detekt/detekt/milestone/8) ##### Migration @@ -1604,27 +1604,27 @@ Rename this id's in your configuration #### M11 -- False positive SpacingAfterKeyword - [#71](https://github.com/arturbosch/detekt/issues/71) -- Embedabble compiler - [#70](https://github.com/arturbosch/detekt/pull/70) -- Support for Android? Failed to apply plugin [id 'com.android.application'] - [#69](https://github.com/arturbosch/detekt/issues/69) -- Add gradle task to integrate idea formatting/inspection - [#67](https://github.com/arturbosch/detekt/issues/67) -- Crash when detekt.yml is empty - [#64](https://github.com/arturbosch/detekt/issues/64) -- Add Support For GSK - [#59](https://github.com/arturbosch/detekt/issues/59) -- Decouple/Rewrite/Publish smell-baseline-format - [#57](https://github.com/arturbosch/detekt/issues/57) -- Export Config with `--generate-config` - [#54](https://github.com/arturbosch/detekt/pull/54) -- Support indentation formatting in different formats (X spaces, x spaces for tabs etc) - [#53](https://github.com/arturbosch/detekt/issues/53) -- NestedBlockDepth: Elif-Structure counts as two - [#51](https://github.com/arturbosch/detekt/issues/51) -- Generate default yaml configuration on cli flag - [#48](https://github.com/arturbosch/detekt/issues/48) -- Support @Suppress("ALL") - [#47](https://github.com/arturbosch/detekt/issues/47) -- [WIP] Formatting rework - [#46](https://github.com/arturbosch/detekt/pull/46) -- Rule: Expression-syntax line breaks - [#36](https://github.com/arturbosch/detekt/issues/36) -- Rule: Expression syntax - [#35](https://github.com/arturbosch/detekt/issues/35) -- Allow Indentation check to handle "align when multiline" option - [#25](https://github.com/arturbosch/detekt/issues/25) -- SpacingAroundCurlyBraces throw IndexOutOfFound when determinating Location.of(node) as LineAndColumn calculation is simple wrong (of Idea?) - [#18](https://github.com/arturbosch/detekt/issues/18) +- False positive SpacingAfterKeyword - [#71](https://github.com/detekt/detekt/issues/71) +- Embedabble compiler - [#70](https://github.com/detekt/detekt/pull/70) +- Support for Android? Failed to apply plugin [id 'com.android.application'] - [#69](https://github.com/detekt/detekt/issues/69) +- Add gradle task to integrate idea formatting/inspection - [#67](https://github.com/detekt/detekt/issues/67) +- Crash when detekt.yml is empty - [#64](https://github.com/detekt/detekt/issues/64) +- Add Support For GSK - [#59](https://github.com/detekt/detekt/issues/59) +- Decouple/Rewrite/Publish smell-baseline-format - [#57](https://github.com/detekt/detekt/issues/57) +- Export Config with `--generate-config` - [#54](https://github.com/detekt/detekt/pull/54) +- Support indentation formatting in different formats (X spaces, x spaces for tabs etc) - [#53](https://github.com/detekt/detekt/issues/53) +- NestedBlockDepth: Elif-Structure counts as two - [#51](https://github.com/detekt/detekt/issues/51) +- Generate default yaml configuration on cli flag - [#48](https://github.com/detekt/detekt/issues/48) +- Support @Suppress("ALL") - [#47](https://github.com/detekt/detekt/issues/47) +- [WIP] Formatting rework - [#46](https://github.com/detekt/detekt/pull/46) +- Rule: Expression-syntax line breaks - [#36](https://github.com/detekt/detekt/issues/36) +- Rule: Expression syntax - [#35](https://github.com/detekt/detekt/issues/35) +- Allow Indentation check to handle "align when multiline" option - [#25](https://github.com/detekt/detekt/issues/25) +- SpacingAroundCurlyBraces throw IndexOutOfFound when determinating Location.of(node) as LineAndColumn calculation is simple wrong (of Idea?) - [#18](https://github.com/detekt/detekt/issues/18) -See all issues at: [M11](https://github.com/arturbosch/detekt/milestone/5) -See all issues at: [Formatting](https://github.com/arturbosch/detekt/milestone/6) +See all issues at: [M11](https://github.com/detekt/detekt/milestone/5) +See all issues at: [Formatting](https://github.com/detekt/detekt/milestone/6) ##### Migration @@ -1633,16 +1633,16 @@ See all issues at: [Formatting](https://github.com/arturbosch/detekt/milestone/6 #### M10 -- detekt-gradle-plugin - [#16](https://github.com/arturbosch/detekt/issues/16) -- experimental migration module which can migrate imports- [#30](https://github.com/arturbosch/detekt/issues/30) -- NamingConventionViolation is now aware about backticks - [contributed by Svyatoslav Chatchenko](https://github.com/arturbosch/detekt/pull/34) +- detekt-gradle-plugin - [#16](https://github.com/detekt/detekt/issues/16) +- experimental migration module which can migrate imports- [#30](https://github.com/detekt/detekt/issues/30) +- NamingConventionViolation is now aware about backticks - [contributed by Svyatoslav Chatchenko](https://github.com/detekt/detekt/pull/34) - cli and core module refactorings, jcenter publishing, travis ci -- gradle-plugin version is not configurable, task configurations should be in `afterEvaluate` - [#41](https://api.github.com/repos/arturbosch/detekt/issues/41) -- Add Contributing Guide - [#37](https://api.github.com/repos/arturbosch/detekt/issues/37) -- NamingConventionViolation is now aware about backticks “`” - [#34](https://api.github.com/repos/arturbosch/detekt/issues/34) +- gradle-plugin version is not configurable, task configurations should be in `afterEvaluate` - [#41](https://api.github.com/repos/detekt/detekt/issues/41) +- Add Contributing Guide - [#37](https://api.github.com/repos/detekt/detekt/issues/37) +- NamingConventionViolation is now aware about backticks “`” - [#34](https://api.github.com/repos/detekt/detekt/issues/34) -See all issues at: [M10](https://github.com/arturbosch/detekt/milestone/4) -See all issues at: [M10.1](https://api.github.com/repos/arturbosch/detekt/milestones/7) +See all issues at: [M10](https://github.com/detekt/detekt/milestone/4) +See all issues at: [M10.1](https://api.github.com/repos/detekt/detekt/milestones/7) ##### Migration @@ -1650,32 +1650,32 @@ See all issues at: [M10.1](https://api.github.com/repos/arturbosch/detekt/milest #### M9 -- Support suppressing rules (@SuppressWarnings, @Suppress) - [#6](https://github.com/arturbosch/detekt/issues/6) -- Allow easier navigation in README - [#24](https://github.com/arturbosch/detekt/issues/24) +- Support suppressing rules (@SuppressWarnings, @Suppress) - [#6](https://github.com/detekt/detekt/issues/6) +- Allow easier navigation in README - [#24](https://github.com/detekt/detekt/issues/24) -See all issues at: [M9](https://github.com/arturbosch/detekt/milestone/2) +See all issues at: [M9](https://github.com/detekt/detekt/milestone/2) #### M8, M8.1 ##### feature -- Introduce complexity ruleset - [#4](https://github.com/arturbosch/detekt/issues/4) -- Provide a new screenshot showing detekt in action [#13](https://github.com/arturbosch/detekt/issues/13) -- Update Readme/Rulesets for changes in code-smell/complexity rulesets [#14](https://github.com/arturbosch/detekt/issues/14) -- NamingConventionViolation should allow customization [#20](https://github.com/arturbosch/detekt/issues/20) +- Introduce complexity ruleset - [#4](https://github.com/detekt/detekt/issues/4) +- Provide a new screenshot showing detekt in action [#13](https://github.com/detekt/detekt/issues/13) +- Update Readme/Rulesets for changes in code-smell/complexity rulesets [#14](https://github.com/detekt/detekt/issues/14) +- NamingConventionViolation should allow customization [#20](https://github.com/detekt/detekt/issues/20) ##### bugs fixed - Prevent division by zero (thx @olivierlemasle) -See all issues at: [M8](https://github.com/arturbosch/detekt/milestone/1) +See all issues at: [M8](https://github.com/detekt/detekt/milestone/1) #### M7 ##### defect -- Remove NoElseInWhenExpression rule [#10](https://github.com/arturbosch/detekt/issues/10) +- Remove NoElseInWhenExpression rule [#10](https://github.com/detekt/detekt/issues/10) ##### feature @@ -1694,8 +1694,8 @@ See all issues at: [M8](https://github.com/arturbosch/detekt/milestone/1) - As an user I want to get more often releases to try out the new stuff - [#87](https://gitlab.com/arturbosch/detekt/issues/87) - Update to kotlin 1.0.6 - [#84](https://gitlab.com/arturbosch/detekt/issues/84) -- Update to kotlin 1.1.1 - [#2](https://github.com/arturbosch/detekt/issues/2) -- Get rid of hamkrest - [#9](https://github.com/arturbosch/detekt/issues/9) +- Update to kotlin 1.1.1 - [#2](https://github.com/detekt/detekt/issues/2) +- Get rid of hamkrest - [#9](https://github.com/detekt/detekt/issues/9) See all issues at: [M7](https://gitlab.com/arturbosch/detekt/milestones/7) diff --git a/scripts/get_analysis_projects.groovy b/scripts/get_analysis_projects.groovy index 0dfbd9d8c..b435866fe 100644 --- a/scripts/get_analysis_projects.groovy +++ b/scripts/get_analysis_projects.groovy @@ -24,8 +24,8 @@ def projects = [ "git@github.com:arturbosch/ksh.git", "git@github.com:arturbosch/kutils.git", "git@github.com:arturbosch/deps.git", - "git@github.com:arturbosch/detekt.git", - "git@github.com:arturbosch/sonar-kotlin.git" + "git@github.com:detekt/detekt.git", + "git@github.com:detekt/sonar-kotlin.git" ] if (args.size() == 0) {