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

Ktlint 우변이 여러줄)일 때 줄바꿈 되는 포메팅 수정 #19

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

murjune
Copy link
Member

@murjune murjune commented Jan 23, 2025

// as is
val a =
    listOf(1, 2, 3)
        .map { it * 2 }
        .first { it > 2 }

// to be
val a = listOf(1, 2, 3)
    .map { it * 2 }
    .first { it > 2 }

메서드 체이닝 시 이상하게 포메팅 되던거 수정했습니다! 저희 말고 다른 개발자들도 이와 관련해서 곤란함을 겪었더라구요 🤣

pinterest/ktlint#2338

@murjune murjune self-assigned this Jan 23, 2025
Copy link
Member

@nohjunh nohjunh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다~! 속 시원하네요!

@murjune murjune merged commit 4ba89ac into develop Jan 24, 2025
1 check passed
@murjune murjune deleted the chore/disable-multiline-ktlint-format branch January 24, 2025 15:17
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.

2 participants