Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Spotless for formatting #1619

Merged
merged 7 commits into from
Jun 23, 2020
Merged

Use Spotless for formatting #1619

merged 7 commits into from
Jun 23, 2020

Conversation

tylerbenson
Copy link
Contributor

Replaces the gradle googleJavaFormat plugin, but still using that format within spotless.

Includes a precommit hook to help verify.

Replaces the gradle googleJavaFormat plugin, but still using that format within spotless.
I applied settings in attempt to get as close as I could, but change set is still pretty dramatic and the result is unappealing. (Idea formatting does a better job.)
@tylerbenson tylerbenson requested review from a team as code owners June 23, 2020 14:41
@richardstartin
Copy link
Member

If we're changing this can we change the format too? Sometimes the current format splits single statements across 4 or more lines.

@tylerbenson
Copy link
Contributor Author

@richardstartin I expect changes to the format can be done as a PR that changes the config and applies it to everything. I was trying to keep the changes minimal to start. Most of the changes here are files that weren't automatically formatted on the previous system.

@tylerbenson tylerbenson merged commit 391c60c into master Jun 23, 2020
@tylerbenson tylerbenson deleted the tyler/spotless branch June 23, 2020 20:17
@github-actions github-actions bot added this to the 0.56.0 milestone Jun 23, 2020
@tylerbenson tylerbenson added the tag: no release notes Changes to exclude from release notes label Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: no release notes Changes to exclude from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants