You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once all modules have been configured with spotless, the global spotless configuration should be changed to enable java formatting on all files and the individual configurations should be removed so that any new module would follow the new code style standard.
Checkstyle global configuration should also be changed to use the new configuration which does not conflict with spotless
Finally (nice to have) it may be good to add all the reformatting commits to a .git-blame-ignore-revs file so that git blame view on Github would ignore those commits since the changes are mostly automatic and cosmetic.
Component(s)
Java
The text was updated successfully, but these errors were encountered:
@laurentgo I was planning to do it in #40826 as we don't need formatting for auto generated content in the format module. But if you prefer, you could choose that issue and finalize it or you could use this.
As all modules have been migrated over to spotless, remove per-module
configuration and enable java formatting at the root level.
Exclude format module from java formatting but still enable license
formatting for this module as well.
Fixesapache#42121apache#40826
Describe the enhancement requested
Once all modules have been configured with spotless, the global spotless configuration should be changed to enable java formatting on all files and the individual configurations should be removed so that any new module would follow the new code style standard.
Checkstyle global configuration should also be changed to use the new configuration which does not conflict with spotless
Finally (nice to have) it may be good to add all the reformatting commits to a
.git-blame-ignore-revs
file so thatgit blame
view on Github would ignore those commits since the changes are mostly automatic and cosmetic.Component(s)
Java
The text was updated successfully, but these errors were encountered: