Skip to content

Check FormattingRule is auto-correctable by information provided by ktlint #5398

Merged
cortinico merged 2 commits into
detekt:mainfrom
sanggggg:main
Oct 14, 2022
Merged

Check FormattingRule is auto-correctable by information provided by ktlint #5398
cortinico merged 2 commits into
detekt:mainfrom
sanggggg:main

Conversation

@sanggggg

@sanggggg sanggggg commented Oct 9, 2022

Copy link
Copy Markdown
Contributor

Fixes #5343

Replace FormattingRule::canBeCorrectedByKtlint by ktlint's callback parameter canBeAutoCorrected.
This PR will prevent manual synchronizing of auto-correctable with ktlint.

@cortinico cortinico added this to the 1.22.0 milestone Oct 14, 2022
@cortinico

Copy link
Copy Markdown
Member

Thanks for working on this @sanggggg 🙏

@cortinico
cortinico merged commit 6c54364 into detekt:main Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark new AnnotationRule finding from 0.47.0 as non correctable

3 participants