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

chore: Pre-fix some files that may need to be excluded from spotless. #365

Closed
wants to merge 1 commit into from

Conversation

jsync-swirlds
Copy link
Member

  • In some files excluded large text blocks from formatting to protect the internal structure of those blocks and keep the file readble.
  • Replaced string append chains with String.formatted in many places, which helped Spotless format effectively
  • Disabled spotless formatting in a few other places where the palantir format simply could not be made readable, or where it was modifying the content of text blocks.
  • Adjusted a few other blocks by introducing variables and simliar small refactors to "help" the formatter produce a readable result.

@jsync-swirlds jsync-swirlds self-assigned this Jan 17, 2025
* In some files excluded large text blocks from formatting to protect the
  internal structure of those blocks and keep the file readble.
* Replaced string append chains with String.formatted in many places,
  which helped Spotless format effectively
* Disabled spotless formatting in a few other places where the palantir
  format simply could not be made readable, or where it was modifying
  the content of text blocks.
* Adjusted a few other blocks by introducing variables and simliar
  small refactors to "help" the formatter produce a readable result.

Signed-off-by: Joseph Sinclair <[email protected]>
@jsync-swirlds jsync-swirlds deleted the fix-pbj-core-spotless branch January 17, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant