Skip to content

[Source Code]: move static imports to bottom #159

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

Closed
1 task done
lucasstarsz opened this issue Nov 27, 2021 · 0 comments · Fixed by #160
Closed
1 task done

[Source Code]: move static imports to bottom #159

lucasstarsz opened this issue Nov 27, 2021 · 0 comments · Fixed by #160
Assignees
Labels
source code Fix in FastJ's source code

Comments

@lucasstarsz
Copy link
Member

What's Up?

Like @teur mentioned, adding '\\#' to the end of importOrder arranges static imports to be placed last.

Originally posted by @yooksi in diffplug/spotless#306 (comment)

As shown above from diffplug/spotless#306, it's possible to configure static imports in spotless such that they are always on the bottom section of the imports. Let's move the static imports there.

Code of Conduct

  • I agree to follow FastJ's Code of Conduct
@lucasstarsz lucasstarsz added the source code Fix in FastJ's source code label Nov 27, 2021
@lucasstarsz lucasstarsz self-assigned this Nov 27, 2021
@lucasstarsz lucasstarsz changed the title [Source Code]: move static imports in spotlessApply to bottom of imports [Source Code]: move static imports to bottom Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source code Fix in FastJ's source code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant