-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Spotless with ratchet #7133
Spotless with ratchet #7133
Conversation
Testing with a single change to a local file.
|
Co-authored-by: Goooler <wangzongler@gmail.com>
6e2832c
to
7b59ad8
Compare
Breaking on diffplug/spotless#710 |
@swankjesse landing to test on master. |
Lgtm |
Thanks for the setup advice @JakeWharton |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -173,6 +173,23 @@ subprojects { | |||
} | |||
} | |||
|
|||
apply(plugin = "com.diffplug.spotless") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be loading the config from .editorconfig
, rather than partially duplicating it here. As-is the two disagree on where java.*
imports go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it seems haven't supported yet. See diffplug/spotless#142
Configure spotless, with ratchet on modified files.