[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037777#comment-18037777
 ] 

Yuntong Qu commented on CASSSIDECAR-265:
----------------------------------------

Spotless can be used, but it’s hard to make its formatting rules match 
Cassandra’s existing checkstyle exactly. To simplify and keep things 
consistent, we could switch to a standard style like Google Java Format. It’s 
well-supported, easier to maintain, and integrates cleanly with CI. Thoughts on 
moving in that direction?

> Format Java code automatically and enforce it in sidecar
> --------------------------------------------------------
>
>                 Key: CASSSIDECAR-265
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-265
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Task
>            Reporter: Yuntong Qu
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> We should add a Gradle task to format sidecar project files. 
> Other Java project also has similar setup, example Lucene  
> https://issues.apache.org/jira/browse/LUCENE-9564



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to