This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
Update dependency com.pinterest:ktlint to v0.45.1 #129
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:
0.44.0
->0.45.1
Release Notes
pinterest/ktlint
v0.45.1
Compare Source
Minor release to fix a breaking issue with
ktlint
API consumersFixed
v0.45.0
Compare Source
API Changes & RuleSet providers
If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.
Retrieving ".editorconfig" property value
This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via
userData[EDITOR_CONFIG_USER_DATA_KEY]
. Property values should now only be retrieved using methodASTNode.getEditorConfigValue(editorConfigProperty)
of interfaceUsesEditorConfigProperties
which is provided in this release. Starting from next release after the current release, the EditConfig and/oruserData[EDITOR_CONFIG_USER_DATA_KEY]
may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.Added
function-type-reference-spacing
) (#1341)type-parameter-list-spacing
) (#1366)discouraged-comment-location
) (#1365)fun-keyword-spacing
) (#1362)experimental:block-comment-initial-star-alignment
(#297).editorconfig
propertyij_kotlin_packages_to_use_import_on_demand
(no-wildcard-imports
) (#1272)comment-wrapping
) (#1403)kdoc-wrapping
) (#1403)type-parameter-list-spacing
) (#1366)Fixed
no-multi-spaces
) (#1394)indent
) (#1375)no-unused-imports
) (#1277), (#1393), (#1256)Changed
indent
rule to the new rulewrapping
(as part of thestandard
ruleset). In case you currently have disabled theindent
rule, you may want to reconsider whether this is still necessary or that you also want to disable the newwrapping
rule to keep the status quo. Both rules can be run independent of each other. (#835)Removed
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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 WhiteSource Renovate. View repository job log here.