-
Notifications
You must be signed in to change notification settings - Fork 503
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
Define EditorConfigOverride for dynamically loaded ruleset #2194
Conversation
…be defined with dynamically loaded rulesets Closes #2190
The
The helper method
When running the main method in the Both the statically typed properties as well as the property from a dynamically loaded ruleset are recognized by ktlint:
The invalid value for the property of a dynamically loaded ruleset is reported in same way as for static properties:
|
New API
|
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Allow editorconfig overrides in ktlint 0.49+ (fixes #707) using pinterest/ktlint#2194
Description
Extend API Consumer example to showcase how EditorConfigOverride can be defined with dynamically loaded rulesets
Closes #2190
Checklist
Before submitting the PR, please check following (checks which are not relevant may be ignored):
Closes #<xxx>
orFixes #<xxx>
(replace<xxx>
with issue number)CHANGELOG.md
is updatedDocumentation is updated. See difference between snapshot and release documentation