Skip to content

Commit

Permalink
♻️ :: klint 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
alsco39 committed Jan 13, 2024
1 parent 864edce commit 229e819
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,11 @@ class AdminUseCase(
override fun saveOrUpdateType(date: LocalDate, type: DirectorType) {

Check failure on line 275 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L275 <standard:function-signature>

Newline expected after opening parenthesis
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:275:35: error: Newline expected after opening parenthesis (standard:function-signature)

Check failure on line 275 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L275 <standard:function-signature>

Parameter should start on a newline
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:275:52: error: Parameter should start on a newline (standard:function-signature)

Check failure on line 275 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L275 <standard:function-signature>

Newline expected before closing parenthesis
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:275:70: error: Newline expected before closing parenthesis (standard:function-signature)
val existType = queryTypeSpi.queryTypeByDate(date)

existType?.let { commandTypeSpi.saveType(it.changeType(type)) }
?: commandTypeSpi.saveType(
existType?.let {
commandTypeSpi.saveType(
it.changeType(type)

Check failure on line 280 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

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

Missing trailing comma before ")"
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:280:36: error: Missing trailing comma before ")" (standard:trailing-comma-on-call-site)
)
} ?: commandTypeSpi.saveType(
Type(

Check failure on line 283 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L283 <standard:indent>

Unexpected indentation (16) (should be 12)
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:283:1: error: Unexpected indentation (16) (should be 12) (standard:indent)
date = date,

Check failure on line 284 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L284 <standard:indent>

Unexpected indentation (20) (should be 16)
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:284:1: error: Unexpected indentation (20) (should be 16) (standard:indent)
type = type,

Check failure on line 285 in pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt

View workflow job for this annotation

GitHub Actions / ktlint

[ktlint] pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt#L285 <standard:indent>

Unexpected indentation (20) (should be 16)
Raw output
pick-application/src/main/kotlin/com/pickdsm/pickserverspring/domain/admin/usecase/AdminUseCase.kt:285:1: error: Unexpected indentation (20) (should be 16) (standard:indent)
Expand Down

0 comments on commit 229e819

Please sign in to comment.