Skip to content

Commit

Permalink
♻️ :: Ktlint 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco39 committed Sep 12, 2023
1 parent 8d86210 commit 3c44347
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ClassroomUseCase(

afterSchoolList.map { afterSchool ->
val afterSchoolUserList = queryAfterSchoolSpi.queryAfterSchoolListByClassroomId(afterSchool.afterSchoolInfoId)
val afterSchoolMovementUserList = queryClassroomMovementSpi.queryClassroomMovementByClassroomId(afterSchool.classroomId)
val afterSchoolMovementUserList = queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(afterSchool.classroomId)

Check failure on line 120 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt#L120 <standard:max-line-length>

Exceeded max line length (140)
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt:120:1: error: Exceeded max line length (140) (standard:max-line-length)

Check failure on line 120 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt#L120 <standard:argument-list-wrapping>

Argument should be on a separate line (unless all arguments can fit a single line)
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt:120:121: error: Argument should be on a separate line (unless all arguments can fit a single line) (standard:argument-list-wrapping)

Check failure on line 120 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt#L120 <standard:argument-list-wrapping>

Missing newline before ")"
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt:120:144: error: Missing newline before ")" (standard:argument-list-wrapping)

isUserExist = !(afterSchoolUserList.isEmpty() && afterSchoolMovementUserList.isEmpty())

Expand All @@ -136,7 +136,8 @@ class ClassroomUseCase(

clubRoomList.map {
val clubUserList = queryClubSpi.queryClubStudentIdListByClubInfoId(it.clubInfoId)
val clubMovementUserList = queryClassroomMovementSpi.queryClassroomMovementByClassroomId(it.classroomId)
val clubMovementUserList =
queryClassroomMovementSpi.queryClassroomMovementListByClassroomId(it.classroomId)

isUserExist = !(clubUserList.isEmpty() && clubMovementUserList.isEmpty())

Expand All @@ -146,7 +147,6 @@ class ClassroomUseCase(
description = it.description,
isUserExist = isUserExist,
)

classrooms.add(clubRooms)
}
}
Expand All @@ -163,7 +163,7 @@ class ClassroomUseCase(
if (checkIsClass) {
classroomUserList = userSpi.queryUserInfoByGradeAndClassNum(

Check failure on line 164 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt#L164 <standard:multiline-expression-wrapping>

A multiline expression should start on a new line
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt:164:45: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)
grade = classroom.grade,
classNum = classroom.classNum,
classNum = classroom.classNum

Check failure on line 166 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt#L166 <standard:trailing-comma-on-call-site>

Missing trailing comma before ")"
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/classroom/usecase/ClassroomUseCase.kt:166:58: error: Missing trailing comma before ")" (standard:trailing-comma-on-call-site)
)
}

Expand Down

0 comments on commit 3c44347

Please sign in to comment.