feat: 장바구니 조회, 상품 추가 기능 추가 #43
reviewdog [ktlint] report
reported by reviewdog 🐶
Findings (55)
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt|3 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt|13 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt|3 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt|15 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemReader.kt|9 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt|8 col 5| Expected a blank line for this declaration
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt|9 col 5| Expected a blank line for this declaration
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt|9 col 31| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt|9 col 47| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt|9 col 61| Newline expected before closing parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemWriter.kt|9 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartReader.kt|9 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|20 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|25 col 25| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|25 col 25| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|25 col 51| Missing newline before ")"
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|25 col 51| Newline expected before closing parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|32 col 21| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|32 col 21| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|32 col 72| Missing newline before ")"
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt|32 col 72| Newline expected before closing parenthesis
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt|19 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|12 col 1| Expected a blank line for this declaration
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|19 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|22 col 26| Class or object name should start with an uppercase letter and use camel case
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|23 col 38| Unexpected whitespace
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt|24 col 34| Unexpected whitespace
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/presentaion/CartControllerTest.kt|3 col 1| Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/presentaion/CartControllerTest.kt|24 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/presentaion/CartControllerTest.kt|42 col 24| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/presentaion/CartControllerTest.kt|51 col 26| Class or object name should start with an uppercase letter and use camel case
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/presentaion/CartControllerTest.kt|52 col 1| Class body should not start with blank line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartEntity.kt|3 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartEntity.kt|10 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartEntity.kt|13 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartEntity.kt|15 col 1| Class body should not start with blank line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartEntityRepository.kt|12 col 1| Class body should not start with blank line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|4 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|5 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|14 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|15 col 51| A comment in a 'value_parameter_list' is only allowed when placed on a separate line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|16 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|17 col 32| A comment in a 'value_parameter_list' is only allowed when placed on a separate line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|18 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntity.kt|19 col 51| A comment in a 'value_parameter_list' is only allowed when placed on a separate line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntityRepository.kt|12 col 20| A multiline expression should start on a new line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntityRepository.kt|31 col 40| Newline expected after opening parenthesis
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntityRepository.kt|31 col 56| Parameter should start on a newline
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/CartItemEntityRepository.kt|31 col 70| Newline expected before closing parenthesis
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/JpaCartItemRepository.kt|7 col 5| Expected a blank line for this declaration
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/JpaCartItemRepository.kt|7 col 31| Newline expected after opening parenthesis
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/JpaCartItemRepository.kt|7 col 47| Parameter should start on a newline
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/cart/JpaCartItemRepository.kt|7 col 61| Newline expected before closing parenthesis
Filtered Findings (74)
commerce-api/src/main/kotlin/com/hanghae/commerce/common/IdentifierConstants.kt|4 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/item/application/itemReader.kt|8 col 7| Class or object name should start with an uppercase letter and use camel case
commerce-api/src/main/kotlin/com/hanghae/commerce/item/domain/Item.kt|10 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/item/domain/ItemRepository.kt|4 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/CustomerWriterService.kt|6 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/CustomerWriterService.kt|13 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/CustomerWriterService.kt|15 col 27| A multiline expression should start on a new line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/SellerWriterService.kt|6 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/SellerWriterService.kt|13 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/SellerWriterService.kt|15 col 27| A multiline expression should start on a new line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/application/UserReaderService.kt|11 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 16| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 30| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 40| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 55| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 72| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/User.kt|24 col 90| Newline expected before closing parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/UserRepository.kt|8 col 5| Expected a blank line for this declaration
commerce-api/src/main/kotlin/com/hanghae/commerce/user/domain/UserRepository.kt|9 col 5| Expected a blank line for this declaration
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|4 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|5 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|12 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|14 col 24| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|14 col 24| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|14 col 81| Missing newline before ")"
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/CustomerController.kt|14 col 81| Newline expected before closing parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|4 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|5 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|12 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|14 col 22| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|14 col 22| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|14 col 75| Missing newline before ")"
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/SellerController.kt|14 col 75| Newline expected before closing parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|5 col 1| Wildcard import
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|12 col 1| Class body should not start with blank line
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|14 col 17| Parameter should start on a newline
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|14 col 17| Newline expected after opening parenthesis
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|14 col 43| Missing newline before ")"
commerce-api/src/main/kotlin/com/hanghae/commerce/user/presentation/UserController.kt|14 col 43| Newline expected before closing parenthesis
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/CustomerWriterServiceTest.kt|18 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/CustomerWriterServiceTest.kt|27 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/SellerWriterServiceTest.kt|18 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/SellerWriterServiceTest.kt|27 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/UserReaderServiceTest.kt|24 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/UserReaderServiceTest.kt|33 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/application/UserReaderServiceTest.kt|57 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/domain/UserRepositoryTest.kt|16 col 20| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/domain/UserRepositoryTest.kt|34 col 20| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/domain/UserTest.kt|10 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/domain/UserTest.kt|13 col 20| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/domain/UserTest.kt|45 col 9| Missing space after //
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|11 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|16 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|26 col 69| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|39 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|49 col 69| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|62 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateCustomerRequestTest.kt|72 col 69| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|11 col 1| Class body should not start with blank line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|16 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|26 col 67| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|39 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|49 col 67| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|62 col 23| A multiline expression should start on a new line
commerce-api/src/test/kotlin/com/hanghae/commerce/user/presentation/dto/CreateSellerRequestTest.kt|72 col 67| A multiline expression should start on a new line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/common/PrimaryKeyEntity.kt|5 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/common/PrimaryKeyEntity.kt|9 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/common/PrimaryKeyEntity.kt|21 col 17| Property name should start with a lowercase letter and use camel case
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/UserEntity.kt|5 col 1| Wildcard import
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/UserEntity.kt|16 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/UserEntityRepository.kt|13 col 1| Class body should not start with blank line
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/item/ItemEntity.kt|14 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/item/ItemEntity.kt|17 col 1| Unexpected blank line(s) in value parameter list
commerce-infra/db-main/src/main/kotlin/com/hanghae/commerce/data/domain/item/ItemEntityRepository.kt|12 col 1| Class body should not start with blank line
Annotations
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt#L3 <standard:no-wildcard-imports>
Wildcard import
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt:3:1: error: Wildcard import (standard:no-wildcard-imports)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt#L13 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartReaderService.kt:13:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt#L3 <standard:no-wildcard-imports>
Wildcard import
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt:3:1: error: Wildcard import (standard:no-wildcard-imports)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt#L15 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/application/CartWriterService.kt:15:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemReader.kt#L9 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemReader.kt:9:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt#L8 <standard:blank-line-before-declaration>
Expected a blank line for this declaration
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt:8:5: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt#L9 <standard:blank-line-before-declaration>
Expected a blank line for this declaration
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt:9:5: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt#L9 <standard:function-signature>
Newline expected after opening parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt:9:31: error: Newline expected after opening parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt#L9 <standard:function-signature>
Parameter should start on a newline
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt:9:47: error: Parameter should start on a newline (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt#L9 <standard:function-signature>
Newline expected before closing parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemRepository.kt:9:61: error: Newline expected before closing parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemWriter.kt#L9 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartItemWriter.kt:9:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartReader.kt#L9 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/domain/CartReader.kt:9:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L20 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:20:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L25 <standard:parameter-list-wrapping>
Parameter should start on a newline
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:25:25: error: Parameter should start on a newline (standard:parameter-list-wrapping)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L25 <standard:function-signature>
Newline expected after opening parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:25:25: error: Newline expected after opening parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L25 <standard:parameter-list-wrapping>
Missing newline before ")"
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:25:51: error: Missing newline before ")" (standard:parameter-list-wrapping)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L25 <standard:function-signature>
Newline expected before closing parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:25:51: error: Newline expected before closing parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L32 <standard:parameter-list-wrapping>
Parameter should start on a newline
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:32:21: error: Parameter should start on a newline (standard:parameter-list-wrapping)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L32 <standard:function-signature>
Newline expected after opening parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:32:21: error: Newline expected after opening parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L32 <standard:parameter-list-wrapping>
Missing newline before ")"
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:32:72: error: Missing newline before ")" (standard:parameter-list-wrapping)
github-actions / ktlint
[ktlint] commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt#L32 <standard:function-signature>
Newline expected before closing parenthesis
Raw output
commerce-api/src/main/kotlin/com/hanghae/commerce/cart/presentaion/CartController.kt:32:72: error: Newline expected before closing parenthesis (standard:function-signature)
github-actions / ktlint
[ktlint] commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt#L3 <standard:import-ordering>
Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
Raw output
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (standard:import-ordering)
github-actions / ktlint
[ktlint] commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt#L19 <standard:no-empty-first-line-in-class-body>
Class body should not start with blank line
Raw output
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartReaderServiceTest.kt:19:1: error: Class body should not start with blank line (standard:no-empty-first-line-in-class-body)
github-actions / ktlint
[ktlint] commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt#L3 <standard:import-ordering>
Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end
Raw output
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (standard:import-ordering)
github-actions / ktlint
[ktlint] commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt#L12 <standard:blank-line-before-declaration>
Expected a blank line for this declaration
Raw output
commerce-api/src/test/kotlin/com/hanghae/commerce/cart/application/CartWriterServiceTest.kt:12:1: error: Expected a blank line for this declaration (standard:blank-line-before-declaration)