Skip to content

Commit bfff8d1

Browse files
committed
Polish
1 parent 63c87dd commit bfff8d1

File tree

1 file changed

+43
-2
lines changed
  • spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle

1 file changed

+43
-2
lines changed

spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle/spring-checkstyle.xml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,49 @@
7474
<!-- Imports -->
7575
<module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck" />
7676
<module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck">
77-
<property name="excludes"
78-
value="io.restassured.RestAssured.*, org.assertj.core.api.Assertions.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.Assert.*, org.junit.Assume.*, org.junit.internal.matchers.ThrowableMessageMatcher.*, org.junit.jupiter.api.Assertions.*, org.hamcrest.CoreMatchers.*, org.hamcrest.Matchers.*, org.springframework.boot.configurationprocessor.ConfigurationMetadataMatchers.*, org.springframework.boot.configurationprocessor.TestCompiler.*, org.springframework.boot.test.autoconfigure.AutoConfigurationImportedCondition.*, org.mockito.Mockito.*, org.mockito.BDDMockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Matchers.*, org.springframework.restdocs.headers.HeaderDocumentation.*, org.springframework.restdocs.hypermedia.HypermediaDocumentation.*, org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*, org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.*, org.springframework.restdocs.operation.preprocess.Preprocessors.*, org.springframework.restdocs.payload.PayloadDocumentation.*, org.springframework.restdocs.request.RequestDocumentation.*, org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.*, org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.*, org.springframework.restdocs.snippet.Attributes.*, org.springframework.restdocs.webtestclient.WebTestClientRestDocumentation.*, org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*, org.springframework.test.web.servlet.result.MockMvcResultMatchers.*, org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestBuilders.*, org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*, org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers.*, org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo, org.springframework.test.web.client.ExpectedCount.*, org.springframework.test.web.client.match.MockRestRequestMatchers.*, org.springframework.test.web.client.response.MockRestResponseCreators.*, org.springframework.test.web.servlet.result.MockMvcResultHandlers.*, org.springframework.web.reactive.function.BodyInserters.*, org.springframework.web.reactive.function.server.RequestPredicates.*, org.springframework.web.reactive.function.server.RouterFunctions.*, org.springframework.test.web.servlet.setup.MockMvcBuilders.*" />
77+
<property name="excludes" value="
78+
io.restassured.RestAssured.*,
79+
org.assertj.core.api.Assertions.*,
80+
org.hamcrest.CoreMatchers.*,
81+
org.hamcrest.Matchers.*,
82+
org.junit.Assert.*,
83+
org.junit.Assume.*,
84+
org.junit.internal.matchers.ThrowableMessageMatcher.*,
85+
org.junit.jupiter.api.Assertions.*,
86+
org.junit.jupiter.api.Assumptions.*,
87+
org.junit.jupiter.api.Assertions.*,
88+
org.mockito.ArgumentMatchers.*,
89+
org.mockito.BDDMockito.*,
90+
org.mockito.Matchers.*,
91+
org.mockito.Mockito.*,
92+
org.springframework.boot.configurationprocessor.ConfigurationMetadataMatchers.*,
93+
org.springframework.boot.configurationprocessor.TestCompiler.*,
94+
org.springframework.boot.test.autoconfigure.AutoConfigurationImportedCondition.*,
95+
org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo,
96+
org.springframework.restdocs.headers.HeaderDocumentation.*,
97+
org.springframework.restdocs.hypermedia.HypermediaDocumentation.*,
98+
org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*,
99+
org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.*,
100+
org.springframework.restdocs.operation.preprocess.Preprocessors.*,
101+
org.springframework.restdocs.payload.PayloadDocumentation.*,
102+
org.springframework.restdocs.request.RequestDocumentation.*,
103+
org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.*,
104+
org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.*,
105+
org.springframework.restdocs.snippet.Attributes.*,
106+
org.springframework.restdocs.webtestclient.WebTestClientRestDocumentation.*,
107+
org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestBuilders.*,
108+
org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*,
109+
org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers.*,
110+
org.springframework.test.web.client.ExpectedCount.*,
111+
org.springframework.test.web.client.match.MockRestRequestMatchers.*,
112+
org.springframework.test.web.client.response.MockRestResponseCreators.*,
113+
org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*,
114+
org.springframework.test.web.servlet.result.MockMvcResultHandlers.*,
115+
org.springframework.test.web.servlet.result.MockMvcResultMatchers.*,
116+
org.springframework.test.web.servlet.setup.MockMvcBuilders.*,
117+
org.springframework.web.reactive.function.BodyInserters.*,
118+
org.springframework.web.reactive.function.server.RequestPredicates.*,
119+
org.springframework.web.reactive.function.server.RouterFunctions.*" />
79120
</module>
80121
<module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck" />
81122
<module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck">

0 commit comments

Comments
 (0)