spring-cloud / spring-cloud-circuitbreaker

Spring Cloud Circuit Breaker API and Implementations
Apache License 2.0
332 stars 111 forks source link

checkstyle-suppressions.xml is missing #58

Closed ackintosh closed 4 years ago

ackintosh commented 4 years ago

Describe the bug Please provide details of the problem, including the version of Spring Cloud that you are using.

https://github.com/spring-cloud/spring-cloud-circuitbreaker#251-intellij-idea

2.5. IDE setup

... ...

checkstyle.additional.suppressions.file - this variable corresponds to suppressions in your local project. E.g. you’re working on spring-cloud-contract. Then point to the project-root/src/checkstyle/checkstyle-suppressions.xml folder. Example for spring-cloud-contract would be: /home/username/spring-cloud-contract/src/checkstyle/checkstyle-suppressions.xml.

The document above indicates to specify checkstyle-suppressions.xml but I could not find the file in spring-cloud-circuitbreaker.

$ pwd
/Users/akihito.nakano/src/github.com/spring-cloud/spring-cloud-circuitbreaker

$ git ls-files | grep checkstyle

Proceeding the configuration without checkstyle-suppressions.xml, I got the error.

image