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

Map property max_line_length to "off" instead of "-1" #1825

Merged
merged 3 commits into from
Feb 18, 2023

Conversation

paul-dingemans
Copy link
Collaborator

@paul-dingemans paul-dingemans commented Feb 18, 2023

Description

When generating the .editorconfig the default value of property max_line_length is set to -1 for code style official. This value is not recognized by IntelliJ IDEA and has negative effect on code formatting in IntelliJ. The value off has to be generated instead to disable the maximum line length check.

Closes #1824

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:

@paul-dingemans paul-dingemans merged commit 1469c48 into master Feb 18, 2023
@paul-dingemans paul-dingemans deleted the 1824-max-line-length-property branch February 18, 2023 13:28
@paul-dingemans paul-dingemans added this to the 0.49.0 milestone Mar 21, 2023
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.

Generated .editorconfig contains invalid max_line_length value
1 participant