Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump detekt-formatting from 1.21.0 to 1.22.0 #210

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2022

Bumps detekt-formatting from 1.21.0 to 1.22.0.

Release notes

Sourced from detekt-formatting's releases.

v1.22.0-RC3

1.22.0-RC3 - 2022-11-06

Notable Changes
  • We're introducing the Detekt Marketplace, a place where you can add your own 3rd party extension such as rule, plugins, custom reporter, etc. - #5191
  • Our website is now versioned. You can find the changes for each version using the dropdown menu on the top bar. Documentation for the upcoming version (next) can be found here.
  • We added 16 new Rules to Detekt
    • AlsoCouldBeApply - #5333
    • MultilineRawStringIndentation - #5058
    • TrimMultilineRawString - #5051
    • UnnecessaryNotNullCheck - #5218
    • UnnecessaryPartOfBinaryExpression - #5203
    • UseSumOfInsteadOfFlatMapSize - #5405
    • FunctionReturnTypeSpacing from KtLint - #5256
    • FunctionSignature from KtLint - #5256
    • FunctionStartOfBodySpacing from KtLint - #5256
    • NullableTypeSpacing from KtLint - #5256
    • ParameterListSpacing from KtLint - #5256
    • SpacingBetweenFunctionNameAndOpeningParenthesis from KtLint - #5256
    • TrailingCommaOnCallSite from KtLint - #5312
    • TrailingCommaOnDeclarationSite from KtLint - #5312
    • TypeParameterListSpacing from KtLint - #5256
  • We added a new ruleset called detekt-rules-ruleauthors containing rules for Rule Authors to enforce best practices on Detekt rules such as the new ViolatesTypeResolutionRequirements - #5129 #5182
  • We added a new ruleset called detekt-rules-libraries containing rules mostly useful for Library Authors - We moved the following rules inside ForbiddenPublicDataClass, LibraryCodeMustSpecifyReturnType, LibraryEntitiesShouldNotBePublic this new ruleset - See Migration below on how to migrate #5360
  • We added support for JVM toolchain. This means that Detekt will now respect the JDK toolchain you specify on your Gradle configuration. You will also be able to specify a custom JDK home with the --jdk-home CLI parameter - #5269
  • Improvement for Type Resolution
    • We will now skip rules annotated with @RequiresTypeResolution when without Type Resolution - #5176
    • We will warn users if they run rules requiring Type Resolution when Type Resolution is disabled, so they're not silently skipped - #5226
  • Improvement for Config Management
    • We added exhaustiveness check during config validation. You can enable it checkExhaustiveness: true in your config file. This is disabled by default. - #5089
    • We added support for generating custom configuration for rule authors - #5080
  • Deprecations & Removals
    • We deprecated the MultiRule class as it was overly complicated. The suggested approach is to just provide separated rules. - #5161
    • The --fail-fast CLI flag (and failFast Gradle property) has been removed. It was deprecated since 1.16.x - #5290
    • We deprecated the following rules DuplicateCaseInWhenExpression, MissingWhenCase, RedundantElseInWhen as the Kotlin Compiler is already reporting errors for those scenarios - #5309
    • We removed the --print-ast CLI flag as PsiViewer provides the same features - #5418
  • Notable changes to existing rules
    • ArrayPrimitive is now working only with Type Resolution - #5175
    • WildcardImport is now running also on tests by default - #5121
    • ForbiddenImport allows now to specify a reason for every forbidden import - #4909
    • IgnoredReturnValue: option restrictToAnnotatedMethods is now deprecated in favor of restrictToConfig - #4922
  • This version of Detekt is built with Gradle v7.5.1, AGP 7.3.1, Kotlin 1.7.20 and KtLint 0.47.1 (see #5363 #5189 #5411 #5312
  • The minimum supported Gradle version is now v6.7.1 - #4964
Migration

We deprecated a number of rules in this release.

You should update your config file as follows:

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 21, 2022
@warting warting enabled auto-merge (rebase) November 21, 2022 04:22
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from 9fdf2f7 to a0e37c6 Compare November 21, 2022 04:42
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from beaf3ef to b2e3380 Compare December 9, 2022 04:13
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 3 times, most recently from 23456cd to c63178d Compare January 4, 2023 04:27
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from 3695721 to 280f7f8 Compare January 12, 2023 04:21
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 5 times, most recently from f4bf73c to 72b74c3 Compare January 25, 2023 04:13
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch from 72b74c3 to 613e865 Compare February 1, 2023 04:12
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from c997e0c to 587bf9a Compare February 10, 2023 05:18
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 3 times, most recently from baaa6f1 to f8a9f77 Compare February 21, 2023 05:12
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 3 times, most recently from a629a7f to 9e2f61a Compare March 6, 2023 05:16
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from d45693e to 494f5ea Compare March 9, 2023 05:09
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from 41aa665 to faa1f40 Compare March 24, 2023 05:19
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch from faa1f40 to 0bcb705 Compare March 28, 2023 04:05
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch 2 times, most recently from c38e000 to 40c994b Compare April 6, 2023 04:05
Bumps [detekt-formatting](https://github.com/detekt/detekt) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-formatting
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch from 40c994b to 546759e Compare April 7, 2023 04:06
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 24, 2023

Superseded by #294.

@dependabot dependabot bot closed this May 24, 2023
auto-merge was automatically disabled May 24, 2023 03:58

Pull request was closed

@dependabot dependabot bot deleted the dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.22.0 branch May 24, 2023 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants