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

Documentation for disabled_rules in .editorconfig is outdated (as it should be ktlint_disabled_rules) #1674

Closed
carstenhag opened this issue Oct 11, 2022 · 2 comments

Comments

@carstenhag
Copy link

carstenhag commented Oct 11, 2022

Expected Behavior

Documentation does not mention deprecated properties. It should mention ktlint_disabled_rules.

Observed Behavior

But it does:

Steps to Reproduce

Use disabled_rules, get 15:19:37.547 [pool-1-thread-10] WARN com.pinterest.ktlint.core.api.UsesEditorConfigProperties - Property 'disabled_rules' is deprecated: Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.

Your Environment

ktlint 0.47.0

[*.{kt,kts}]
disabled_rules=trailing-comma-on-declaration-site
@paul-dingemans
Copy link
Collaborator

Fixed via #1671

@carstenhag
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants