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

Set property "ktlint_disabled_rules" with CLI "--disabled-rules" #1616

Merged

Conversation

paul-dingemans
Copy link
Collaborator

Description

Set property "ktlint_disabled_rules" instead of "disabled_rules" when using CLI parameter as otherwise the deprecation warning is displayed

Closes #1599

Checklist

  • PR description added
  • tests are added
  • KtLint has been applied on source code itself and violations are fixed
  • documentation is updated
  • CHANGELOG.md is updated

In case of adding a new rule:

… using CLI parameter as otherwise the deprecation warning is displayed

Closes pinterest#1599
@paul-dingemans paul-dingemans added this to the 0.47.1 milestone Sep 3, 2022
@paul-dingemans paul-dingemans merged commit 8894ee9 into pinterest:master Sep 3, 2022
@paul-dingemans paul-dingemans deleted the 1599-cli-disabled-rules branch September 3, 2022 12:29
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

Successfully merging this pull request may close these issues.

ktlint 0.47 displays plenty of warnings about the --disabled_rules argument usage
1 participant