ppalaga commented on PR #10403:
URL: https://github.com/apache/camel/pull/10403#issuecomment-1594364331

   We have formatter and impsort [enabled by 
default](https://github.com/apache/camel-quarkus/blob/main/poms/build-parent/pom.xml#L169-L194)
 in `process-sources` phase in Camel Quarkus since years. I works quite well, 
because one typically builds before pushing/committing. This is the most 
newcomer friendly setup I can imagine and love it in all projects where they 
have it. The project defines the style and the newcomer does not need to care 
or even know. 
   
   I never used formatting in a pre-commit hook. Do you have some real world 
experience with that? Would it work regardless what is the current working 
directory? Doesn't it take too long for large projects? 


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to