forked from detekt/detekt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop applying treeCopyHandler extension in analysis environment
This was previously used by ktlint to support autocorrect for some rules, but is being phased out due to pinterest/ktlint#1981. detekt should do the same. This has no impact on any core rules, or the formatting module (since ktlint no longer depends on this extension as of ktlint v0.50.0). This will impact third party rule sets, only if: - they support autocorrect, and - autocorrect support relies on the treeCopyHandler extension ktlint rules were updated to remove the dependency on treeCopyHandler, so affected third party detekt rule sets can do the same. This is all being caused by upstream changes in Kotlin. There's some very useful analysis in pinterest/ktlint#2044 that can be reviewed by anyone affected downstream by this change.
- Loading branch information
Showing
2 changed files
with
3 additions
and
29 deletions.
There are no files selected for viewing
30 changes: 2 additions & 28 deletions
30
detekt-parser/src/main/kotlin/io/github/detekt/parser/DetektPomModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters