Hi guys! AFAIK, we have some style checks in CI/CD. As a novice here, I find it quite annoying to remember the checks before I commit.
So how about adding some pre-commit hooks to do these checks for us, such as `mvn spotless:apply`. Though there are some small questions here: 1. Which checks or operations should be done by pre-commit hooks? 2. If a pre-commit check failed, should it throw the error and stop the commit? Or just apply the modifications to finish the commit? Any suggestions? -- Kind regards, Ke Lin