This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Update dependency com.pinterest.ktlint:ktlint-cli to v1.1.0 #522
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.1
->1.1.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
v1.1.0
Compare Source
🆕 Features
Compile with java 21 instead of 20 - #2320, by @paul-dingemans
Improve checking on backing property - #2346, by @paul-dingemans
Add multiline-loop to complement multiline-if-else - #2298, by @hendraanggrian
Add "UnusedImport" as @Suppress alias - #2357, by @paul-dingemans
Allow backing property to be correlated to a public function - #2356, by @paul-dingemans
Add helper function 'fromSnippetWithPath' to create a Code instance - #2359, by @paul-dingemans
Support logging and exception throwing when loading baseline - #2362, by @paul-dingemans
Allow factory methods to use generics, and to overload other factory … - #2366, by @paul-dingemans
Remove dependencies on discouraged-comment-location rule - #2371, by @paul-dingemans
Ignore imports for
rangeUntil
inno-unused-imports
rule - #2376, by @paul-dingemansIgnore imports for
assign
inno-unused-imports
rule - #2382, by @paul-dingemansIgnore invalid function names when importing from "junit.framework" - #2386, by @paul-dingemans
Add experimental rules
condition-wrapping
andmixed-condition-operators
- #2401, by @paul-dingemansAllow property, function and class name to be same as keyword wrapped with backticks - #2405, by @paul-dingemans
Set offset of
max-line-length
violation to the last position at which a newline can be inserted to fix the violation - #2419, by @paul-dingemansAdd support for API Consumers to add suppressions - #2428, by @paul-dingemans
Disallow
else-if (..) <statement>
as single line construct - #2430, by @paul-dingemansAllow empty constructor for expected class declaration - #2431, by @paul-dingemans
Disallow comments in try-catch-finally at unexpected locations - #2432, by @paul-dingemans
Make ktlint.bat more environment agnostic - #2421, by @TWiStErRob
Suppress property-naming rule via
@Suppress("ConstPropertyName")
- #2442, by @paul-dingemans🔧 Fixes
Remove obsolete configuration files - #2321, by @paul-dingemans
De-indent the closing angle bracket of the type argument list and type parameter lists in ktlint_official code style - #2302, by @paul-dingemans
docs: Fix artifact url of Maven Central Badge - #2327, by @guicamest
Remove redundant arrow in function literal without parameters / fix documentation - #2365, by @paul-dingemans
Move curly brace before all consecutive comments preceding that curly brace - #2375, by @paul-dingemans
Prevent stack overflow exception when code provided via stdin can not be parsed as Kotlin, nor Kotlin script - #2380, by @paul-dingemans
Fix searching from inside a hidden directory - #2377, by @kitterion
Prevent unwanted joining of KDoc with preceding type-parameter-list - #2381, by @paul-dingemans
Fix false positive violation in
annotation
rule - #2400, by @paul-dingemansReplace all function bodies with body expressions in a single run - #2395, by @paul-dingemans
Fix offset for violation when final newline is missing - #2407, by @paul-dingemans
Fix path to ktlint JAR file in
ktlint.bat
- #2408, by @paul-dingemansSimplify
max-line-length
implementation - #2410, by @paul-dingemansRemove deprecated cli parameters
--experimental
,--code-style
,--disabled-rules
- #2411, by @paul-dingemansFix adding blank line between declaration and an annotated declaration which is preceded by comment - #2429, by @paul-dingemans
Update CODE_OF_CONDUCT with correct path - #2437, by @OriginalMHV
📦 Dependencies
fix(deps): update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.10 - #2323, by @renovate[bot]
fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.1 - #2342, by @renovate[bot]
fix(deps): update kotlin monorepo to v1.9.21 - #2374, by @renovate[bot]
fix(deps): update dependency org.codehaus.janino:janino to v3.1.11 - #2387, by @renovate[bot]
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.15.1 - #2389, by @renovate[bot]
chore(deps): update dependency gradle to v8.5 - #2392, by @renovate[bot]
chore(deps): update actions/checkout digest to
b4ffde6
- #2329, by @renovate[bot]chore(deps): update actions/setup-java action to v4 - #2393, by @renovate[bot]
fix(deps): update dependency ch.qos.logback:logback-classic to v1.3.14 - #2406, by @renovate[bot]
fix(deps): update dependency io.github.hakky54:logcaptor to v2.9.2 - #2409, by @renovate[bot]
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v5.1.4 - #2439, by @renovate[bot]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.