-
Notifications
You must be signed in to change notification settings - Fork 460
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
Add support for KtLint 0.48.0 (fixes #1430) #1432
Conversation
2e00cfa
to
f5af503
Compare
|
||
// get complete list of supported properties in DefaultEditorConfigProperties.INSTANCE | ||
List<EditorConfigProperty<?>> editorConfigProperties = new ArrayList<>(DefaultEditorConfigProperties.INSTANCE.getEditorConfigProperties()); | ||
editorConfigProperties.add(DefaultEditorConfigProperties.INSTANCE.getKtlintDisabledRulesProperty()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think ktlint_disabled_rules
has been added to DefaultEditorConfigProperties
in 0.48.0, already, so this whole new ArrayList
part would be useless now. I introduced it in #1378 for a fix, but if it's in the DefaultEditorConfigProperties
we can get rid of it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a ton @bcmedeiros for keeping an eye on this. @davidburstrom your call, I'm okay to merge it as-is, or if you want to make the change suggested above first I'm happy to wait.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look at the suggested change.
f5af503
to
918547f
Compare
Needs a |
Released in |
Thanks for doing the final cleanup! |
No description provided.