You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/12/23 00:19:00 UTC

[jira] [Created] (HBASE-26617) Use spotless to reduce the pain on fixing checkstyle issues

Duo Zhang created HBASE-26617:
---------------------------------

             Summary: Use spotless to reduce the pain on fixing checkstyle issues
                 Key: HBASE-26617
                 URL: https://issues.apache.org/jira/browse/HBASE-26617
             Project: HBase
          Issue Type: New Feature
          Components: build, community
            Reporter: Duo Zhang


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)