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

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

Merged
merged 2 commits into from Oct 14, 2022

Conversation

sanggggg
Copy link
Contributor

@sanggggg sanggggg commented Oct 9, 2022

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
Member

Thanks for working on this @sanggggg 🙏

@cortinico cortinico merged commit 6c54364 into detekt:main Oct 14, 2022
21 checks passed
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