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

format only locally changed files #313

Closed
vvaka opened this issue Oct 30, 2018 · 1 comment
Closed

format only locally changed files #313

vvaka opened this issue Oct 30, 2018 · 1 comment

Comments

@vvaka
Copy link

vvaka commented Oct 30, 2018

First of all, Thanks for making spotless
It would be very useful if there is an option to format only files locally modified both in maven , gradle plugins, This allows us to adapt this plugin in existing projects and incrementally format the sources.

This feature exists in another maven-plugin which is not actively maintained, talios/googleformatter-maven-plugin option filterModified

@nedtwigg
Copy link
Member

There's a workaround for this in #178.

Totally open to a PR to implement this with a flag, but #178 is the place to propose it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants