Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
https://github.com/diffplug/spotless
Spotless is a tool for reformatting code based on your configuration file, it supports the google java format, as well as a eclipse formatter file.
I think we could use it to format our code, based on a configuration file in our repo, and all the developpers, no matter what IDE they use, they can just type a mvn spotless:apply before commiting a PR, then everything is fine.
Attachments
Issue Links
- relates to
-
HBASE-26899 Run spotless:apply
- Resolved
-
HBASE-27083 Run spotless:apply in release scripts when we want to commit something
- Open
-
HBASE-26892 Add spotless:check in our pre commit general check
- Resolved
-
HBASE-26915 Miscellaneous improvements before landing spotless reformat
- Resolved
- links to
1.
|
Run spotless:apply | Resolved | Duo Zhang |