[Feature] Using Spotless plugin, automatically format code with the EventMesh coding style. #4443
Description
Search before asking
- I had searched in the issues and found no similar issues.
Feature Request
Using Spotless plugin, automatically format code with the EventMesh coding style.
Why should we use Spotless?
When we writing code, we all want to follow a fixed code style, and the IDEs we use also have code formatting functions.
But unfortunately, code formatting needs to be triggered manually by the developer, so there will definitely be times when the formatting is forgotten.
These problems may be corrected through CR, of course, it may not be seen, and a certain piece of code has a bad smell.
Although a good, unified code style does not improve code performance, even if the code style is bad, the code will compile correctly and run the same result. But when your code has a good unified style, the code will be more beautiful, better readable, and CR can completely ignore the code style.
Spotless is such a tool that lets you not worry about code style, and can bind Gradle's life cycle to automatically format code at build time. Click me to Spotless Github
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct *