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

[Bug-example][DO NOT MERGE] MaxLineLength excludeRawStrings #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GrzegorzBobryk
Copy link
Owner

@GrzegorzBobryk GrzegorzBobryk commented Aug 18, 2024

Description

DO NOT MERGE. Added an example to demonstrate that the excludeRawStrings option in MaxLineLength does not correctly ignore raw strings. The current configuration does not bypass raw strings when calculating line length, leading to unexpected linting failures. It works fine only when closing quote signs are in new line.

Issue ticket number and link

detekt/detekt#7555

Checklist

  • Code is formatted properly
  • I have performed a self-review of my code
  • Tests passed successfully, and new ones were added if necessary

Added an example to demonstrate that the `excludeRawStrings` option in `MaxLineLength` does not correctly ignore raw strings. The current configuration does not bypass raw strings when calculating line length, leading to unexpected linting failures. It works fine only when closing quote signs are in new line.
@GrzegorzBobryk GrzegorzBobryk self-assigned this Aug 18, 2024
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.

1 participant