Skip to content

Commit

Permalink
対応ができないのでインポート順のルールを無視
Browse files Browse the repository at this point in the history
  • Loading branch information
rami2076 committed Oct 5, 2023
1 parent 29b1e3d commit 8891a71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Comma-separated list of rules to disable
# Note that rules in any ruleset other than the standard ruleset will need to be prefixed
# by the ruleset identifier.
# ref: https://pinterest.github.io/ktlint/0.49.1/rules/configuration-ktlint/

# Cause: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (import-ordering)
# I'm Not Adjust Rule. Because ,Disabled it.
# Actual:https://github.com/rami2076/kotlin-on-spring-boot/actions/runs/6417868641/job/17424476230?pr=38
[*.{kt,kts}]
ktlint_disabled_rules = import-ordering
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.example.kotlinonspringboot.presentation.controller

import com.example.kotlinonspringboot.domain.model.EmployeeServiceException
import com.example.kotlinonspringboot.domain.usecase.EmployeeUpdateUseCase
import java.util.stream.Stream
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Nested
Expand All @@ -20,8 +21,6 @@ import org.springframework.boot.test.mock.mockito.MockBean
import org.springframework.http.MediaType
import org.springframework.test.web.reactive.server.WebTestClient

import java.util.stream.Stream

/**
* メソッドが多いのでテストクラスを分割している
*/
Expand Down

0 comments on commit 8891a71

Please sign in to comment.