EricGao888 opened a new issue, #2492:
URL: https://github.com/apache/incubator-seatunnel/issues/2492

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   * Use `Spotless` maven plugin to detect and fix formatting and style errors 
automatically.
   * I will send an email to dev mail list for detailed discussion later.
   
   ### Usage Scenario
   
   * Currently, ST uses `Checkstyle` to detect formatting and style errors. 
However, it will be much more conveniently if we could find those style errors 
and automatically fix them before pushing the code.
   * We could introduce `spotless` plugin into DS and use it to automatically 
fix the style together with `Pre-commit Hook`.
   * https://github.com/diffplug/spotless
   * https://github.com/diffplug/spotless/tree/main/plugin-maven
   
   ### Related issues
   
   * We have already done this in the Apache DolphinScheduler project, see 
https://github.com/apache/dolphinscheduler/issues/10963 for details.
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to